###### Abstract  
Media applications are amongst the most demanding services. They require high amounts of network capacity as well as computational resources for synchronous high-quality audio-visual streaming. Recent technological advances in the domain of new generation networks, specifically network virtualization and Multiaccess Edge Computing (MEC) have unlocked the potential of the media industry. They enable high-quality media services through dynamic and efficient resource allocation taking advantage of the flexibility of the layered architecture offered by 5G. The presented work demonstrates the potential application of Artificial Intelligence (AI) capabilities for multimedia services deployment. The goal was targeted to optimize the Quality of Experience (QoE) of real-time video using dynamic predictions by means of Deep Reinforcement Learning (DRL) algorithms. Specifically, it contains the initial design and test of a self-optimized cloud streaming proof-of-concept. The environment is implemented through a virtualized end-to-end architecture for multimedia transmission, capable of adapting streaming bitrate based on a set of actions. A prediction algorithm is trained through different state conditions (QoE, bitrate, encoding quality, and RAM usage) that serves the optimizer as the encoding values of the environment for action prediction. Optimization is applied by selecting the most suitable option from a set of actions. These consist of a collection of predefined network profiles with associated bitrates, which are validated by a list of reward functions. The optimizer is built employing the most prominent algorithms in the DRL family, with the use of two Neural Networks (NN), named Advantage Actor-Critic (A2C). As a result of its application, the ratio of good quality video segments increased from 65% to 90%. Furthermore, the number of image artifacts is reduced compared to standard sessions without applying intelligent optimization. From these achievements, the global QoE obtained is clearly better. These results, based on a simulated scenario, increase the interest in further research on the potential of applying intelligence to enhance the provisioning of media services under real conditions. deep reinforcement learning; 5G; adaptive multimedia; A2C; quality of experience; agent-based simulation; smart optimization +
Footnote †: _Sciencedence_  
Footnote †: _Sciencedenced_  
Footnote †: _Sciencedencedenced_  
Footnote †: _Sciencedenced_  
Footnote †: _Sciencedencedenced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_
Footnote †: _Sciencedenced_
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_  
Footnote †: _Sciencedenced_  
Footnote †: _Scienced_
optimizer predicts the best action to execute. That is, by analyzing the environment data, the optimizer applies a policy of actions that seeks to maximize the QoE of the service. The complete system follows the reference control for self-adaptive systems such as MAPE (Monitor-Analyze-Plan-Execute) [1].