Skip to content

Change type android impl#11540

Draft
johnedocampo wants to merge 9 commits into
youtube:mainfrom
johnedocampo:changeType_android_impl
Draft

Change type android impl#11540
johnedocampo wants to merge 9 commits into
youtube:mainfrom
johnedocampo:changeType_android_impl

Conversation

@johnedocampo

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Gemini Suggested Commit Message


media: Implement SourceBuffer.changeType support

Implement support for mid-stream codec changes via the Media Source
Extensions changeType API, specifically for Starboard and Android.

Update decoder configurations to track changeType transitions and
propagate these flags through Mojo. Modify StarboardRenderer to defer
applying new configurations until the first sample of the new codec
is encountered to prevent corruption of in-flight buffers.

On Android, implement a decoder hot-swap mechanism in the video decoder
to drain the current MediaCodec and reinitialize it with the new MIME
type and codec parameters.

Bug: 375275033

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant