Patent attributes
In one example, a device for retrieving media data includes a memory configured to store media data including advertisement content and main media data, and one or more processors implemented in circuitry and configured to: send advertisement information to an advertisement server device; in response to sending the advertisement information, receive the advertisement content from the advertisement server; retrieve the main media data; and provision the advertisement content to the main media data. The device may further include a coded picture buffer (CPB) and a video decoder that retrieves encoded video data from the CPB for decoding. The one or more processors may provision the advertisement content to the main media content by sending both the advertisement content and the main media content to the CPB.