peertube-android
peertube-android copied to clipboard
Chrome Cast
Would be a neat feature but probably without torrent/webrtc support.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Should be quite simple with the Exoplayer2 cast extension: Ext: https://github.com/google/ExoPlayer/tree/r2.7.0/extensions/cast Demo App: https://github.com/google/ExoPlayer/tree/r2.7.0/demos/cast
Only implement if possible without play services requirement.
I would like to add a request here that it would be cool if the sender portion implemented in the app didn't require authentication with google, to open up the possibility of casting to open source receivers. As I understand it, the single piece that prevents an open source receiver from receiving casts from official apps is an authentication challenge/response that uses baked in pub/priv keys in every chromecast after establishing the TLS communication channel. If this authentication is optional for a client SDK to work with an official chromecast, then we could potentially open up the possibility of support for FOSS cast receivers.
Some resources that might be helpful: https://blog.oakbits.com/google-cast-protocol-overview.html https://blog.oakbits.com/google-cast-protocol-discovery-and-connection.html https://blog.oakbits.com/google-cast-protocol-receiver-authentication.html
An example of a client AND server cast implementation in node: https://github.com/thibauts/node-castv2
Maybe as workaround a button like the existing "download".. just for "open direct mpeg-stream" (with token because of intern or privat privacy), so VLC can open and stream it to chromecast/tv. :)