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-add MediaSession java source code #4838

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

jasonzhangxx
Copy link
Contributor

@jasonzhangxx jasonzhangxx commented Feb 4, 2025

  1. Re-wrote CobaltMediaSession to make it work with Chromium
    MediaSession.
  2. Added necessary dependency lib.
  3. Remove audio focus code from CobaltMediaSession as it's already
    handled by AudioFocusDelegate.
  4. Still keep LifecycleCallback in CobaltMediaSession with a TODO.

b/377019873

Copy link
Contributor

@zhongqiliang zhongqiliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did the same change a while ago, #4392, see john's comment, and Kaido had some opinions, check with them to see if they still want to use the Chromium 's infrastructure.

@jasonzhangxx jasonzhangxx marked this pull request as draft February 4, 2025 23:30
@jasonzhangxx jasonzhangxx force-pushed the media-session branch 2 times, most recently from 0d162c2 to 1372ef9 Compare February 13, 2025 22:03
1. Re-wrote CobaltMediaSession to make it work with Chromium
   MediaSession.
2. Added necessary dependency lib.
3. Remove audio focus code from CobaltMediaSession as it's already
   handled by AudioFocusDelegate.
4. Still keep LifecycleCallback in CobaltMediaSession with a TODO.

b/377019873
@jasonzhangxx jasonzhangxx marked this pull request as ready for review February 13, 2025 22:08
@jasonzhangxx jasonzhangxx added the on_device Trigger on-device tests label Feb 13, 2025
@jasonzhangxx jasonzhangxx merged commit 6eec31d into youtube:main Feb 18, 2025
166 of 218 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on_device Trigger on-device tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants