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

[android] Move files in dev/cobalt/media to .../coat #3988

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

xiaomings
Copy link
Contributor

@xiaomings xiaomings commented Aug 14, 2024

Move platform related source code (e.g. CaptionSettings.java, CobaltMediaSession.java) from dev/cobalt/media to dev/cobalt/coat. There are no functional changes otherwise.

Some features are mostly used during video playback, like the MediaSession where the playback control and status is displayed during playback, are really platform features.

Their implementations were placed in the media/ folder due to legacy reasons. This PR move them back to the coat folder, where other platform implementations stay.

b/345542000

Move platform related source code (e.g. CaptionSettings.java,
CobaltMediaSession.java) to dev/cobalt/coat.

b/345542000
@xiaomings
Copy link
Contributor Author

@jasonzhangxx @zhongqiliang please help me review the PR, and I would merge it after it's approved by both of you.

@xiaomings xiaomings changed the title [android] Refine platform files in dev/cobalt/media [android] Move files in dev/cobalt/media to .../coat Aug 14, 2024
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.

LGTM

@xiaomings xiaomings merged commit 2a9a01c into youtube:main Aug 15, 2024
340 of 361 checks passed
@xiaomings xiaomings added the cp-25.lts.1+ Cherry Pick to the 25.lts.1+ branch label Aug 15, 2024
cobalt-github-releaser-bot pushed a commit that referenced this pull request Aug 15, 2024
Move platform related source code (e.g. CaptionSettings.java,
CobaltMediaSession.java) from dev/cobalt/media to dev/cobalt/coat. There
are no functional changes otherwise.

Some features are mostly used during video playback, like the
MediaSession where the playback control and status is displayed during
playback, are really platform features.

Their implementations were placed in the media/ folder due to legacy
reasons. This PR move them back to the coat folder, where other platform
implementations stay.

b/345542000

(cherry picked from commit 2a9a01c)
@xiaomings xiaomings added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Aug 15, 2024
@xiaomings xiaomings deleted the atv_consolidate branch August 15, 2024 20:51
cobalt-github-releaser-bot pushed a commit that referenced this pull request Aug 15, 2024
Move platform related source code (e.g. CaptionSettings.java,
CobaltMediaSession.java) from dev/cobalt/media to dev/cobalt/coat. There
are no functional changes otherwise.

Some features are mostly used during video playback, like the
MediaSession where the playback control and status is displayed during
playback, are really platform features.

Their implementations were placed in the media/ folder due to legacy
reasons. This PR move them back to the coat folder, where other platform
implementations stay.

b/345542000

(cherry picked from commit 2a9a01c)
xiaomings added a commit that referenced this pull request Aug 15, 2024
…/coat (#3999)

Refer to the original PR: #3988

Move platform related source code (e.g. CaptionSettings.java,
CobaltMediaSession.java) from dev/cobalt/media to dev/cobalt/coat. There
are no functional changes otherwise.

Some features are mostly used during video playback, like the
MediaSession where the playback control and status is displayed during
playback, are really platform features.

Their implementations were placed in the media/ folder due to legacy
reasons. This PR move them back to the coat folder, where other platform
implementations stay.

b/345542000

Co-authored-by: xiaomings <[email protected]>
kaidokert pushed a commit that referenced this pull request Aug 17, 2024
…/coat (#4003)

Refer to the original PR: #3988

Move platform related source code (e.g. CaptionSettings.java,
CobaltMediaSession.java) from dev/cobalt/media to dev/cobalt/coat. There
are no functional changes otherwise.

Some features are mostly used during video playback, like the
MediaSession where the playback control and status is displayed during
playback, are really platform features.

Their implementations were placed in the media/ folder due to legacy
reasons. This PR move them back to the coat folder, where other platform
implementations stay.

b/345542000

---------

Co-authored-by: xiaomings <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch cp-25.lts.1+ Cherry Pick to the 25.lts.1+ branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants