When transcoding is enabled on a video service, the different qualities are described in the master .m3u8 file.
Wowza Streaming Engine
For example, on Wowza a M3U8 master link of https://yourstream.com:1936/broadcast/broadcast.m3u8 may contain similar contents:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=525800,RESOLUTION=426x240,CODECS="avc1.640015,mp4a.40.2"
240p.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1570800,RESOLUTION=1280x720,CODECS="avc1.64001f,mp4a.40.2"
720p.m3u8
In this example, the 240p.m3u8 and 720p.m3u8 are two additional files in the same directory and can be accessed at the below links:
- 240p: https://yourstream.com:1936/broadcast/240p.m3u8
- 720p: https://yourstream.com:1936/broadcast/720p.m3u8
Flussonic Media Server
For example, on Flussonic a M3U8 master link of https://demo.mediacp.net:8081/flussonictv/index.m3u8 may contain similar contents:
#EXTM3U
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=890000,BANDWIDTH=1120000,RESOLUTION=640x360,FRAME-RATE=30.000,CODECS="avc1.4d401f,mp4a.40.2",CLOSED-CAPTIONS=NONE
tracks-v2a1/mono.m3u8
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=2260000,BANDWIDTH=2820000,RESOLUTION=1280x720,FRAME-RATE=30.000,CODECS="avc1.4d401f,mp4a.40.2",CLOSED-CAPTIONS=NONE
tracks-v1a1/mono.m3u8
In this example, the tracks-v1a1/mono.m3u8 and tracks-v2a1/mono.m3u8 are two additional files in the same directory and can be accessed at the below links:
- 360p: https://demo.mediacp.net:8081/flussonictv/tracks-v1a1/mono.m3u8
- 720p: https://demo.mediacp.net:8081/flussonictv/tracks-v2a1/mono.m3u8
Nginx-Rtmp Video Server
For example, on Nginx-Rtmp a M3U8 master link of https://demo.mediacp.net:19360/nginx-rtmptv/nginx-rtmptv.m3u8 may contain similar contents:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=910800,RESOLUTION=640x360,CODECS="avc1.42c01e,mp4a.40.2"
360p.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2340800,RESOLUTION=1280x720,CODECS="avc1.42c01f,mp4a.40.2"
720p.m3u8
In this example, the 360p.m3u8 and 720p.m3u8 are two additional files in the same directory and can be accessed at the below links: