Skip to content

Commit

Permalink
fix(MSS): Fix playback of some MSS streams (#7517)
Browse files Browse the repository at this point in the history
With this change, no default flags are used. It seems that when a sample
has to use the default flags, in Safari, it can cause problems with MSS.
With HLS this does not happen.

Fixes #7509
  • Loading branch information
avelad authored and joeyparrish committed Nov 12, 2024
1 parent fffe2ce commit 4c4f7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/mp4_generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ shaka.util.Mp4Generator = class {
0x00, 0x00, 0x00, 0x01, // default_sample_description_index
0x00, 0x00, 0x00, 0x00, // default_sample_duration
0x00, 0x00, 0x00, 0x00, // default_sample_size
0x00, 0x01, 0x00, 0x01, // default_sample_flags
0x00, 0x00, 0x00, 0x00, // default_sample_flags
]);
return Mp4Generator.box('trex', bytes);
}
Expand Down

0 comments on commit 4c4f7bf

Please sign in to comment.