Mp4MediaStream
の対応コーデックに VP9 を追加する
#509
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Copilot Summary
This pull request adds support for the VP9 codec in the
Mp4MediaStream
module. The changes include updates to documentation, codec handling, and the addition of new methods to handle VP9 boxes.Key changes:
Documentation updates:
CHANGES.md
: Added VP9 to the list of supported codecs forMp4MediaStream
.packages/mp4-media-stream/README.md
: Updated the list of supported video codecs to include VP9.Code updates:
packages/mp4-media-stream/wasm/src/mp4.rs
:Vp09Box
to the list of imported boxes.from_vp09_box
in theVideoDecoderConfig
implementation to handle VP9 codec configuration.Track
implementation to recognizeVp09Box
entries.Mp4
implementation to handleVp09Box
entries and create corresponding video configurations.packages/mp4-media-stream/wasm/src/player.rs
: Updated theTrackPlayer
implementation to create video decoders for VP9 boxes.