I am developing a Custom Chromecast Receiver App. Is it possible to launch media via the Cast Message Bus? I'm aware that it's not the best practice and there is already a mechanism to launch media via the GCKMediaControlChannel
I'm using the https://github.com/googlecast/CastReferencePlayer as a starting point.
I'm sending the text message (containing the Media Info JSON) via my sender like this:
[_castServiceChannel sendTextMessage:mediaInfoJSON];
The JSON is being received on the receiver and I am then trying to launch the media player like so:
sampleplayer.CastPlayer.prototype.loadVideo_(message);
But I'm not initialising the media player properly. Does anyone have any ideas?