peertube-android icon indicating copy to clipboard operation
peertube-android copied to clipboard

Chrome Cast

Open sschueller opened this issue 6 years ago • 4 comments

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.

sschueller avatar Nov 17 '18 12:11 sschueller

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

sschueller avatar Dec 26 '18 17:12 sschueller

Only implement if possible without play services requirement.

sschueller avatar Jun 21 '20 15:06 sschueller

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

stephen304 avatar Oct 23 '20 02:10 stephen304

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. :)

mfu-mcosys avatar Apr 10 '21 00:04 mfu-mcosys