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

POC : Cast integration #44

Open
1 task done
StaehliJ opened this issue Nov 3, 2022 · 2 comments
Open
1 task done

POC : Cast integration #44

StaehliJ opened this issue Nov 3, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@StaehliJ
Copy link
Contributor

StaehliJ commented Nov 3, 2022

Goal of the poc

Integrate cast player directly in the player UI.

  • Try with CastPlayer from Exoplayer-cast library
@StaehliJ StaehliJ moved this from 📋 Backlog to 🚧 In Progress in Pillarbox Nov 3, 2022
@StaehliJ StaehliJ added the enhancement New feature or request label Nov 3, 2022
@StaehliJ
Copy link
Contributor Author

StaehliJ commented Nov 3, 2022

The integration may work. We need to customize the DefaultMediaItemConvert for CastPlayer to handle urn cases. We have to set a MimeType for each MediaItem with url or at least detect if it is an audio or video.

Not sure playlist mixing audio and video will work for let's say a Audio only chromecast.

@StaehliJ
Copy link
Contributor Author

StaehliJ commented Nov 7, 2022

Playlist management

The player management that handle both local and remote player have to keep tracks on timeline changes. So when session stop, the local player have the item to play after.

On onCastSessionUnavailable the MediaItem list from the CastPlayer is empty, but not state, like playWhenReady or currentMediaItemIndex.

@StaehliJ StaehliJ moved this from 🚧 In Progress to ✅ Done in Pillarbox Nov 10, 2022
@MGaetan89 MGaetan89 moved this from ✅ Done to 📋 Backlog in Pillarbox Mar 11, 2024
@MGaetan89 MGaetan89 added this to the Cast milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants