HLS Streaming issue. How to remove Audio.ts file from GlobalManifest.

In my application, I use the AVPlayer to read streams (m3u8 file), with HLS protocol.


Am facing a problem when AVPlayer switches to the lower bitrate segment. Player automatically selects the lower profile from the GlobalManifest it is the player default behaviour. But in my GlobalManifest we have one profile which contains Audio but not video. Due to this am getting the blank screen with audio playing in the background.


Now, I need to remove the profile which has only audio and manually switches the player to next available bitrate.


Please suggest me here?


Many Thanks in Advance!!

Replies

Hi


Note that the HLS Authoring Specifictation for Apple Devices says you should have audio and video as seperate streams, which would coincidentally also solve the issue you are having.


But if you don't want the player to select a profile, then simply don't have it in the master manifest.


Regards,

Loke