SECOND SCREEN APPS WITH
GOOGLE CAST SDK
DEVNEXUS
FEBRUARY 2014

Copyright © twilio Inc. 2013
HI. I’M KEVIN.
developer evangelist @ twilio
What is twilio?
twilio makes it easy for developers to
integrate voice calling and messaging
into web and native mobile applications
AGENDA
• Cast SDK Overview
• Setting up for Development
• Code and Demos
• Game and Fabulous Prizes
“SENDER”

“RECEIVER”
INTERFACE

CONTENT
SENDER APPS

RECEIVER APPS
FAST HARDWARE

NOT SO MUCH
• Default Media Receiver
• Styled Media Receiver
• Custom Receiver

RECEIVER APPS
• Media Playback
• Minimal skinning
• No receiver code
• Doesn’t require
registration

DEFAULT RECEIVER
• Media Playback
• CSS Styling
• Requires Registration

STYLED MEDIA
RECEIVER
• Custom HTML 5 app
• Loaded from your server
• Can load/play media
• Send/receive events
• Requires Registration

CUSTOM RECEIVER
• Obtain Chromecast IP
address from app
• http://<ip>:9222
• Console / DOM
• debugger; in code

DEBUGGING THE
RECEIVER
• Chrome SDK - requires
extension (?!?)
• iOS SDK
• Android SDK

SENDER APPS
• HTML 5 app
• Request Cast session
(extension)
• Control media playback

CHROME SDK

• Send/receive events
REGISTRATION
DEV APP CONFIG
RESOURCES
• Google Cast SDK: https://developers.google.com/cast/
• Cast Dev Console: https://cast.google.com/publish
• Cast Examples: https://github.com/googlecast
• Twilio: http://www.twilio.com/docs
• ngrok: http://ngrok.com
• Demo code: https://github.com/kwhinnery/twilio-jeopardy
THANK YOU!
@kevinwhinnery
kw@twilio.com
!

http://github.com/kwhinnery
http://slideshare.net/kwhinnery

Second Screen Apps with the Google Cast SDK