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

Reimplement chrome cast support without NodeRed #9

Closed
guyluz11 opened this issue Dec 2, 2023 · 3 comments
Closed

Reimplement chrome cast support without NodeRed #9

guyluz11 opened this issue Dec 2, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request have dart pacakge Integration that only requere to connect dart pacakge with the hub and test that it is working help wanted Extra attention is needed

Comments

@guyluz11
Copy link
Member

guyluz11 commented Dec 2, 2023

We are using node read integration to cast to cast enable device and as we have added the option to use integrations from the app we would like to ditch as many node read plugins as possible.

My thought is to fork cast and replace bonsoir with multicast_dns.
It currently has an open issue on iOS support so in time it will just get fixed.
We prefer not to support flutter-only packages as we want as much future purity and less code to maintain with our hub (dart native).

I have tried dart_chromecast in the past but it was missing features and unmaintained.

@guyluz11 guyluz11 added enhancement New feature or request help wanted Extra attention is needed labels Dec 2, 2023
@guyluz11
Copy link
Member Author

guyluz11 commented Dec 16, 2023

Fixed on my fork.

cast: 
  git: 
    url: "https://github.com/guyluz11/flutter_cast.git"
    ref: "multicast_version"

Current version should support all platforms expect from IOS because of a bug in multicast_dns package flutter/flutter#52733
We can fined a way to do the search with bonsoir just on iOS until it get fixed

@guyluz11 guyluz11 self-assigned this Dec 18, 2023
@guyluz11
Copy link
Member Author

guyluz11 commented Dec 18, 2023

I have managed to use the cast package and even make it more accessible and add new functionality and all of it will be added to the app in the next version.

YouTube API for Chromecast has different implementations that we need to add separately.
Here are some example resources for that:
https://github.com/castjs/castjs (the package is written in one page).
https://bugs.xdavidhu.me/google/2021/04/05/i-built-a-tv-that-plays-all-of-your-private-youtube-videos/ (some article on the matter).

#15

@guyluz11 guyluz11 added the have dart pacakge Integration that only requere to connect dart pacakge with the hub and test that it is working label Dec 18, 2023
@guyluz11
Copy link
Member Author

Done.
We need to make it work as well on IOS with the use of different implementation search device packages on flutter and on dart native for the hub.

Will be discussed in a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request have dart pacakge Integration that only requere to connect dart pacakge with the hub and test that it is working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant