Skip to content

Instantly share code, notes, and snippets.

@johnthepink
Last active August 24, 2016 16:59
Show Gist options
  • Save johnthepink/ecbd23ab69af76284a5d16ab9c0312a5 to your computer and use it in GitHub Desktop.
Save johnthepink/ecbd23ab69af76284a5d16ab9c0312a5 to your computer and use it in GitHub Desktop.

Chromecast App Receiver

Info

We are currently developing an iOS and Android application that will replace NewSpring's current apps. The current app supports video playback on a Chromecast, but we have not added that feature to the new app yet. We use Ooyala for our video streaming. Their new HTML5 player has support for Chromecasting, so their examples are hopefully good.

The way Chromecasting works is like this:

  1. Client finds Chromecast on network
  2. Client sends request to stream to Chromecast with registered ID
  3. Chromecast makes request to Google with registered ID to find Receiver URL
  4. Receiver is just an HTML page which loads Ooyala and plays the video
  5. Receiver is requested and loaded on Chromecast, which plays the video

Added the Chromecast call to the client should be trivial, but we want to test out how Ooyala works on the Chromecast, and get it playing one of our videos.

Reference

  1. http://support.ooyala.com/developers/documentation/concepts/chromecast_and_ooyala.html
  2. http://support.ooyala.com/developers/documentation/tasks/chromecast_integrate_with_ooyala_html5_player.html
  3. http://support.ooyala.com/developers/documentation/concepts/chromecast_overview_receiver_app.html
  4. https://github.com/ooyala/chromecast-sample-receiver
  5. https://github.com/googlecast/CastVideos-chrome
  6. https://developers.google.com/cast/docs/developers

The scripts we currently load in the app for the new Ooyala HMLT5 player are here. I'm not sure what of that is needed for the Receiver application, if any.

Recent sermon video ooayala ID RrbXY2NTE6iYrbfF3DzLra6jVR89yHM5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment