Hello!
I encountered a problem and tried to play an M3u8 file that supports multiple resolutions, but unfortunately it would report a source error.
M3u8 file format:
#EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=720x1280 720x1280/video.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1080x1920 1080x1920/video.m3u8
The above information appears to have two folders, 720x1280 and 1080x1920, respectively.
I use video_player to play, which automatically selects the appropriate video stream based on this information for playback and successfully displays the playback.
Hello!
I encountered a problem and tried to play an M3u8 file that supports multiple resolutions, but unfortunately it would report a source error.
M3u8 file format:
#EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=720x1280 720x1280/video.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1080x1920 1080x1920/video.m3u8The above information appears to have two folders, 720x1280 and 1080x1920, respectively.
I use video_player to play, which automatically selects the appropriate video stream based on this information for playback and successfully displays the playback.