Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upChromecast support #78
Comments
This comment has been minimized.
This comment has been minimized.
|
Is the question about streaming too the Chromecast with an application and another device or just with webtorrent and the Chromecast. Both cases I assume would be possible but Google would have to allow apps to be stored and ran off of the Chromecast. |
This comment has been minimized.
This comment has been minimized.
|
This should be straightforward to add since we already support airplay. There's already an npm module for chromecast streaming. https://npmjs.org/package/chromecast-js It looks like the API is the same as the |
This comment has been minimized.
This comment has been minimized.
|
Looks like the |
This comment has been minimized.
This comment has been minimized.
|
If that module is immature, is the only reason it was chosen over https://www.npmjs.org/package/chromecast the API compatability with airplay-js? If effort is being put into yet-another-chromecast-library, I'd be happy to invest time on mine again. Hopefully this time they don't completely destroy 3rd-party interaction. |
This comment has been minimized.
This comment has been minimized.
|
Hello *, Indeed the module is very alpha, but working on it intensively in order to include Chromecast Support in TorrenTV, the module is focused not only in "API compatiblity" but mostly in node-webkit compilance, by removing gyp-compiled module dependencies. By the way, there is an initiative to centralize "airplay-js API style" modules for media streaming in http://github.com/media-js in case you want to be part of it. I will be including Xbmc's Airplay (https://github.com/guerrerocarlos/node-airplay-xbmc/) and Chromecas-js in there, as well as airplay-js |
This comment has been minimized.
This comment has been minimized.
|
@guerrerocarlos which parts are gyp-compiled? |
This comment has been minimized.
This comment has been minimized.
|
none anymore, since @jaimees2 rewrote a big part of node-castv2 (http://github.com/thibauts/node-castv2/pull/#5) and the only thing left was to migrate from mdns to mdns-js |
This comment has been minimized.
This comment has been minimized.
|
The gyp-compiled part was the protobuf module. @jamiees2 effectively rebound the client to a full-js protobuf module in this PR. The referenced repo is the raw protocol implementation. A complete client is available at https://github.com/thibauts/node-castv2-client with facilities to use the DefaultMediaReceiver included in the Chromecast (avoids registering a custom receiver). The only gyp-compiled part left is the mDNS discovery process included in the exemple code I gave in the README. The module itself doesn't use it. Though it could be easily replaced by a full-js module. The reason I suggested using the gyp-compiled |
This comment has been minimized.
This comment has been minimized.
|
@feross you can now try chromecast-js again and check if it's stable enough for you to use. |
This comment has been minimized.
This comment has been minimized.
|
Native modules are a no-go because they make life difficult for windows users. We've managed to avoid native modules so far and I'd like to keep it that way if possible! I pushed a branch that adds chromecast support (https://github.com/feross/webtorrent/tree/chromecast) but I can't test it right now because my wifi router keeps crapping out. If someone who has a chromecast could test it, that would be great! Just use the |
This comment has been minimized.
This comment has been minimized.
|
I'll test it and send you guys feedback! Luis Eduardo Brito Engenharia de Computação Tel: +55 (19) 983 656 062
|
This comment has been minimized.
This comment has been minimized.
|
I just got a chance to test this tonight and it works. Support was landed in 4cac8a1 (webtorrent v0.3.2) The only downside is that |
This comment has been minimized.
This comment has been minimized.
|
Use |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Is it possible?