Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable CobaltMediaSession #4392

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zhongqiliang
Copy link
Contributor

@zhongqiliang zhongqiliang commented Nov 7, 2024

This change re-enabled the CobaltMediaSession in the codebase, it builds, and can start to run.

During my local test, I encountered a crash caused by starboard_renderer.

Abort message: '[7474:7568:1107/131233.523173:FATAL:starboard_renderer.cc(186)] Check failed: !playing_start_from_time_. '

b/377019873

@zhongqiliang zhongqiliang requested review from johnxwork, yell0wd0g and kaidokert and removed request for johnxwork, yell0wd0g and kaidokert November 7, 2024 21:25
@johnxwork
Copy link
Contributor

The user of the media session API is gone, which used to be cobalt/media_session/media_session_client.cc.

go/bugpattern/UnusedMethod has some risks. We'd want to hook this up to the Web API in the same PR and look at everything together.

The Web API can either be implemented using the java bridge, or with Starboard Extension(which you have enabled) and blink extension bindings.

As Kaido mentioned, there is also a bigger question of how this might duplicate/conflict/supersede Content MediaSession APIs.

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.

2 participants