Hello! I am using AVPLayer for play HLS-stream videos.
But I want to switch player to audio only representation of video. For that purpose we have separate playlist in master manifest:
.....
#EXT-X-STREAM-INF: Video playlists
........
#EXT-X-STREAM-INF:BANDWIDTH=123456, CODECS="mp4a.40.2", AUDIO="AACL"
index.m3u8/blablabla
.....
Is there any possibility to switch AVPLayer to play this audio manifest?
PS: I have tried to set frame of PlayerView to 0x0 but it is not switch to audio only playlist and also disabling tracks not working because it is not file-based playing.
But I want to switch player to audio only representation of video. For that purpose we have separate playlist in master manifest:
.....
#EXT-X-STREAM-INF: Video playlists
........
#EXT-X-STREAM-INF:BANDWIDTH=123456, CODECS="mp4a.40.2", AUDIO="AACL"
index.m3u8/blablabla
.....
Is there any possibility to switch AVPLayer to play this audio manifest?
PS: I have tried to set frame of PlayerView to 0x0 but it is not switch to audio only playlist and also disabling tracks not working because it is not file-based playing.