Second Screen Apps with the Google Cast SDK

23
Copyright © twilio Inc. 2013 SECOND SCREEN APPS WITH GOOGLE CAST SDK DEVNEXUS FEBRUARY 2014

description

An overview of the Google Cast SDK

Transcript of Second Screen Apps with the Google Cast SDK

Page 1: Second Screen Apps with the Google Cast SDK

Copyright © twilio Inc. 2013

SECOND SCREEN APPS WITH GOOGLE CAST SDK

DEVNEXUS

FEBRUARY 2014

Page 2: Second Screen Apps with the Google Cast SDK

HI. I’M KEVIN.developer evangelist @ twilio

Page 3: Second Screen Apps with the Google Cast SDK

What is twilio?

twilio makes it easy for developers to integrate voice calling and messaging into web and native mobile applications

Page 4: Second Screen Apps with the Google Cast SDK
Page 5: Second Screen Apps with the Google Cast SDK
Page 6: Second Screen Apps with the Google Cast SDK

AGENDA

• Cast SDK Overview

• Setting up for Development

• Code and Demos

• Game and Fabulous Prizes

Page 7: Second Screen Apps with the Google Cast SDK
Page 8: Second Screen Apps with the Google Cast SDK

“SENDER” “RECEIVER”

Page 9: Second Screen Apps with the Google Cast SDK

INTERFACE CONTENT

Page 10: Second Screen Apps with the Google Cast SDK

SENDER APPS RECEIVER APPS

Page 11: Second Screen Apps with the Google Cast SDK

FAST HARDWARE NOT SO MUCH

Page 12: Second Screen Apps with the Google Cast SDK

RECEIVER APPS

• Default Media Receiver

• Styled Media Receiver

• Custom Receiver

Page 13: Second Screen Apps with the Google Cast SDK

DEFAULT RECEIVER

• Media Playback

• Minimal skinning

• No receiver code

• Doesn’t require registration

Page 14: Second Screen Apps with the Google Cast SDK

STYLED MEDIA RECEIVER

• Media Playback

• CSS Styling

• Requires Registration

Page 15: Second Screen Apps with the Google Cast SDK

• Custom HTML 5 app

• Loaded from your server

• Can load/play media

• Send/receive events

• Requires Registration CUSTOM RECEIVER

Page 16: Second Screen Apps with the Google Cast SDK

• Obtain Chromecast IP address from app

• http://<ip>:9222

• Console / DOM

• debugger; in code DEBUGGING THE RECEIVER

Page 17: Second Screen Apps with the Google Cast SDK

SENDER APPS

• Chrome SDK - requires extension (?!?)

• iOS SDK

• Android SDK

Page 18: Second Screen Apps with the Google Cast SDK

CHROME SDK

• HTML 5 app

• Request Cast session (extension)

• Control media playback

• Send/receive events

Page 19: Second Screen Apps with the Google Cast SDK

REGISTRATION

Page 20: Second Screen Apps with the Google Cast SDK

DEV APP CONFIG

Page 21: Second Screen Apps with the Google Cast SDK
Page 22: Second Screen Apps with the Google Cast SDK

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

Page 23: Second Screen Apps with the Google Cast SDK

THANK YOU!@kevinwhinnery [email protected]

!

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