mirror of
https://github.com/v0l/m3u8-rs.git
synced 2025-06-20 10:30:29 +00:00
CODECS should be optional
https://developer.apple.com/documentation/http_live_streaming/example_playlists_for_http_live_streaming/creating_a_master_playlist > While the CODECS parameter is optional, every EXT-X-STREAM-INF tag should include the attribute.
This commit is contained in:
@ -278,7 +278,7 @@ fn create_and_parse_master_playlist_full() {
|
||||
uri: "masterplaylist-uri".into(),
|
||||
bandwidth: "10010010".into(),
|
||||
average_bandwidth: Some("10010010".into()),
|
||||
codecs: "TheCODEC".into(),
|
||||
codecs: Some("TheCODEC".into()),
|
||||
resolution: Some("1000x3000".into()),
|
||||
frame_rate: Some("60".into()),
|
||||
audio: Some("audio".into()),
|
||||
|
Reference in New Issue
Block a user