abstract |
An example device for retrieving media data includes a middleware unit configured to receive a first initialization segment of a broadcast stream of media data, receive a second initialization segment of the broadcast stream of media data, and determine whether initialization information of the second initialization segment is different than initialization information of the first initialization segment. When the second initialization segment includes different initialization information, the middleware unit sends an indication to a media application that media playback is to be reinitialized using the initialization information of the second initialization segment. Otherwise, if the initialization information is the same, the middleware unit sends media data of the broadcast stream received following the second initialization segment to the media application without sending the indication to the media application that the media playback is to be reinitialized. |