Google Chromecast
Competition similar products
smartphone as remote control
HDMI - CEC ready device
chromecast already connected to tv message on tv chromecast already connected to tv
https://cast.google.com/chromecast/setup/ Download APP https://cast.google.com/chromecast/setup/
App Launched
Same Chromecast code on TV
and change chromecast’s name Insert Wifi PaSSword and change chromecast’s name
chromecast icon to look for Setup is done chromecast icon to look for
Install ExtenSSion for Google Chrome
select the tab you want to cast in Google Chrome Cast TAB select the tab you want to cast in Google Chrome
Chromecast APP STORE Located at http://www.google.ro/intl/en/chrome/devices/chromecast/apps.html
Android, iOS, website (Google Chrome) 3 TypeS OF CASTING Android, iOS, website (Google Chrome)
Sender apps Android Sender Applications iOS Sender Applications Chrome Sender Applications
Application ID For Android apps: For Chrome apps: For iOS apps: CastMediaControlIntent.DEFAULT_MEDIA_RECEIVER_APPLICATION_ID For Chrome apps: chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID For iOS apps: kGCKMediaDefaultReceiverApplicationID
Initialization Initialization: <script type="text/javascript" src=“https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script> Namespace: chrome.cast.* Initialization: if (!chrome.cast || !chrome.cast.isAvailable) { setTimeout(initializeCastApi, 1000); } initializeCastApi = function() { var sessionRequest = new chrome.cast.SessionRequest(applicationID); var apiConfig = new chrome.cast.ApiConfig(sessionRequest, sessionListener, receiverListener); chrome.cast.initialize(apiConfig, onInitSuccess, onError); };
Launch app chrome.cast.requestSession(onRequestSessionSuccess, onLaunchError); function onRequestSessionSuccess(e) { session = e; }
Device selection function receiverListener(e) { if( e === chrome.cast.ReceiverAvailability.AVAILABLE) { }
Media control var mediaInfo = new chrome.cast.media.MediaInfo(currentMediaURL); var request = new chrome.cast.media.LoadRequest(mediaInfo); session.loadMedia(request, onMediaDiscovered.bind(this, 'loadMedia'), onMediaError); function onMediaDiscovered(how, media) { currentMedia = media; } PLAY/RESUME: currentMedia.play(null, success, error); PAUSE: currentMedia.pause(null, success, error); STOP: currentMedia.stop(null, success, error); SEEK: currentMedia.seek(null, success, error);
Media status function onMediaDiscovered(how, media) { media.addUpdateListener(onMediaStatusUpdate); }
Session management function sessionListener(e) { session = e; if (session.media.length != 0) { onMediaDiscovered('onRequestSessionSuccess', session.media[0]); }
Termination function stopApp() { session.stop(onSuccess, onError); }
on a smartphone screen
Recommended ICONS
Receiver apps Default Media Receiver Styled Media Receiver Custom Receiver
The Chromecast is basically a device that runs a stripped-down version of ChromeOS (some say it’s actually more a stripped-down Android OS) and a Chrome browser.
Hacking Chromecast
Iframe https://ec2.mgateway.com:8080/ewd/chromecastrx/index.html
Thank YOU adrianvmois@gmail.com