Submit Search
Upload
Chromecast - DevParty Torino 2014
•
0 likes
•
1,283 views
Corley S.r.l.
Follow
Chromecast by Google - Gianluca Arbezzano @ CorleyCloud
Read less
Read more
Software
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 15
Download now
Download to read offline
Recommended
Play勉強会 playをGAEで動かそう!
Play勉強会 playをGAEで動かそう!
Daisuke Kasuya
Winefontssmoothing en
Winefontssmoothing en
munjikuo
מחברת וירטואלית, ביולוגיה
מחברת וירטואלית, ביולוגיה
תוכנית נחשון
Game development
Game development
Asido_
מחברת וירטואלית, ביולוגיה, תש
מחברת וירטואלית, ביולוגיה, תש
תוכנית נחשון
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Corley S.r.l.
Cloud computing & lamp applications
Cloud computing & lamp applications
Corley S.r.l.
Symfony2 Specification by examples
Symfony2 Specification by examples
Corley S.r.l.
Recommended
Play勉強会 playをGAEで動かそう!
Play勉強会 playをGAEで動かそう!
Daisuke Kasuya
Winefontssmoothing en
Winefontssmoothing en
munjikuo
מחברת וירטואלית, ביולוגיה
מחברת וירטואלית, ביולוגיה
תוכנית נחשון
Game development
Game development
Asido_
מחברת וירטואלית, ביולוגיה, תש
מחברת וירטואלית, ביולוגיה, תש
תוכנית נחשון
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
Corley S.r.l.
Cloud computing & lamp applications
Cloud computing & lamp applications
Corley S.r.l.
Symfony2 Specification by examples
Symfony2 Specification by examples
Corley S.r.l.
The chromecast's guide to the galaxy
The chromecast's guide to the galaxy
Roc Boronat
State of Web APIs 2017
State of Web APIs 2017
Carsten Sandtner
Developing Desktop Applications using HTML and Javascript
Developing Desktop Applications using HTML and Javascript
Jeff Haynie
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Amazon Web Services
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Amazon Appstore Developers
The Modern Developer Toolbox
The Modern Developer Toolbox
Pablo Godel
[rwdsummit2012] Adaptive Images in Responsive Web Design
[rwdsummit2012] Adaptive Images in Responsive Web Design
Christopher Schmitt
[cssdevconf] Adaptive Images in RWD
[cssdevconf] Adaptive Images in RWD
Christopher Schmitt
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
Christopher Schmitt
Non Conventional Android Programming (English)
Non Conventional Android Programming (English)
Davide Cerbo
Non Conventional Android Programming En
Non Conventional Android Programming En
guest9bcef2f
Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13
Rafael Dohms
[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web Design
Christopher Schmitt
Lights, Camera, Docker: Streaming Video at DramaFever
Lights, Camera, Docker: Streaming Video at DramaFever
bridgetkromhout
FreeBSD: Dev to Prod
FreeBSD: Dev to Prod
Sean Chittenden
[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design
Christopher Schmitt
Vagrant for real
Vagrant for real
Michele Orselli
Tools that help and speed up RWD dev
Tools that help and speed up RWD dev
Matjaž Korošec
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
Christopher Schmitt
Summit2011 satellites-robinf-20110605
Summit2011 satellites-robinf-20110605
Robin Fernandes
Aws rekognition - riconoscimento facciale
Aws rekognition - riconoscimento facciale
Corley S.r.l.
AWSome day 2018 - scalability and cost optimization with container services
AWSome day 2018 - scalability and cost optimization with container services
Corley S.r.l.
More Related Content
Similar to Chromecast - DevParty Torino 2014
The chromecast's guide to the galaxy
The chromecast's guide to the galaxy
Roc Boronat
State of Web APIs 2017
State of Web APIs 2017
Carsten Sandtner
Developing Desktop Applications using HTML and Javascript
Developing Desktop Applications using HTML and Javascript
Jeff Haynie
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Amazon Web Services
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Amazon Appstore Developers
The Modern Developer Toolbox
The Modern Developer Toolbox
Pablo Godel
[rwdsummit2012] Adaptive Images in Responsive Web Design
[rwdsummit2012] Adaptive Images in Responsive Web Design
Christopher Schmitt
[cssdevconf] Adaptive Images in RWD
[cssdevconf] Adaptive Images in RWD
Christopher Schmitt
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
Christopher Schmitt
Non Conventional Android Programming (English)
Non Conventional Android Programming (English)
Davide Cerbo
Non Conventional Android Programming En
Non Conventional Android Programming En
guest9bcef2f
Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13
Rafael Dohms
[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web Design
Christopher Schmitt
Lights, Camera, Docker: Streaming Video at DramaFever
Lights, Camera, Docker: Streaming Video at DramaFever
bridgetkromhout
FreeBSD: Dev to Prod
FreeBSD: Dev to Prod
Sean Chittenden
[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design
Christopher Schmitt
Vagrant for real
Vagrant for real
Michele Orselli
Tools that help and speed up RWD dev
Tools that help and speed up RWD dev
Matjaž Korošec
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
Christopher Schmitt
Summit2011 satellites-robinf-20110605
Summit2011 satellites-robinf-20110605
Robin Fernandes
Similar to Chromecast - DevParty Torino 2014
(20)
The chromecast's guide to the galaxy
The chromecast's guide to the galaxy
State of Web APIs 2017
State of Web APIs 2017
Developing Desktop Applications using HTML and Javascript
Developing Desktop Applications using HTML and Javascript
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
The Modern Developer Toolbox
The Modern Developer Toolbox
[rwdsummit2012] Adaptive Images in Responsive Web Design
[rwdsummit2012] Adaptive Images in Responsive Web Design
[cssdevconf] Adaptive Images in RWD
[cssdevconf] Adaptive Images in RWD
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
Non Conventional Android Programming (English)
Non Conventional Android Programming (English)
Non Conventional Android Programming En
Non Conventional Android Programming En
Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13
[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web Design
Lights, Camera, Docker: Streaming Video at DramaFever
Lights, Camera, Docker: Streaming Video at DramaFever
FreeBSD: Dev to Prod
FreeBSD: Dev to Prod
[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design
Vagrant for real
Vagrant for real
Tools that help and speed up RWD dev
Tools that help and speed up RWD dev
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
Summit2011 satellites-robinf-20110605
Summit2011 satellites-robinf-20110605
More from Corley S.r.l.
Aws rekognition - riconoscimento facciale
Aws rekognition - riconoscimento facciale
Corley S.r.l.
AWSome day 2018 - scalability and cost optimization with container services
AWSome day 2018 - scalability and cost optimization with container services
Corley S.r.l.
AWSome day 2018 - API serverless with aws
AWSome day 2018 - API serverless with aws
Corley S.r.l.
AWSome day 2018 - database in cloud
AWSome day 2018 - database in cloud
Corley S.r.l.
Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing
Corley S.r.l.
Apiconf - The perfect REST solution
Apiconf - The perfect REST solution
Corley S.r.l.
Apiconf - Doc Driven Development
Apiconf - Doc Driven Development
Corley S.r.l.
Authentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructures
Corley S.r.l.
Flexibility and scalability of costs in serverless infrastructures
Flexibility and scalability of costs in serverless infrastructures
Corley S.r.l.
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
Corley S.r.l.
React vs Angular2
React vs Angular2
Corley S.r.l.
A single language for backend and frontend from AngularJS to cloud with Clau...
A single language for backend and frontend from AngularJS to cloud with Clau...
Corley S.r.l.
AngularJS: Service, factory & provider
AngularJS: Service, factory & provider
Corley S.r.l.
The advantage of developing with TypeScript
The advantage of developing with TypeScript
Corley S.r.l.
Angular coding: from project management to web and mobile deploy
Angular coding: from project management to web and mobile deploy
Corley S.r.l.
Corley cloud angular in cloud
Corley cloud angular in cloud
Corley S.r.l.
Measure your app internals with InfluxDB and Symfony2
Measure your app internals with InfluxDB and Symfony2
Corley S.r.l.
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Corley S.r.l.
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Corley S.r.l.
Middleware PHP - A simple micro-framework
Middleware PHP - A simple micro-framework
Corley S.r.l.
More from Corley S.r.l.
(20)
Aws rekognition - riconoscimento facciale
Aws rekognition - riconoscimento facciale
AWSome day 2018 - scalability and cost optimization with container services
AWSome day 2018 - scalability and cost optimization with container services
AWSome day 2018 - API serverless with aws
AWSome day 2018 - API serverless with aws
AWSome day 2018 - database in cloud
AWSome day 2018 - database in cloud
Trace your micro-services oriented application with Zipkin and OpenTracing
Trace your micro-services oriented application with Zipkin and OpenTracing
Apiconf - The perfect REST solution
Apiconf - The perfect REST solution
Apiconf - Doc Driven Development
Apiconf - Doc Driven Development
Authentication and authorization in res tful infrastructures
Authentication and authorization in res tful infrastructures
Flexibility and scalability of costs in serverless infrastructures
Flexibility and scalability of costs in serverless infrastructures
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
React vs Angular2
React vs Angular2
A single language for backend and frontend from AngularJS to cloud with Clau...
A single language for backend and frontend from AngularJS to cloud with Clau...
AngularJS: Service, factory & provider
AngularJS: Service, factory & provider
The advantage of developing with TypeScript
The advantage of developing with TypeScript
Angular coding: from project management to web and mobile deploy
Angular coding: from project management to web and mobile deploy
Corley cloud angular in cloud
Corley cloud angular in cloud
Measure your app internals with InfluxDB and Symfony2
Measure your app internals with InfluxDB and Symfony2
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Middleware PHP - A simple micro-framework
Middleware PHP - A simple micro-framework
Recently uploaded
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
WSO2
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
AnnaArtyushina1
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
SelfMade bd
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
masabamasaba
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
masabamasaba
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
Jim McKeeth
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
tonesoftg
tonesoftg
lanshi9
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
masabamasaba
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
masabamasaba
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
masabamasaba
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
Presentation.STUDIO
Recently uploaded
(20)
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
tonesoftg
tonesoftg
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
Chromecast - DevParty Torino 2014
1.
DEVPARTY GOOGLE CHROMECAST AND
ANGULARJS Createdby /GianlucaArbezzano @gianarb
2.
WHAT IS THIS?! Chromecastis
athumb-sized mediastreamingdevice thatplugs into the HDMI porton your TV
3.
SETUP CHROMECAST.COM/SETUP
4.
DEVELOPER PROGRAM DEVELOPERS.GOOGLE.COM/CAST
5.
SENDER GOOGLE CAST SUPPORTS
SENDER APPLICATIONS WRITTEN FOR THE ANDROID, IOS, AND CHROME PLATFORMS.
6.
RECEIVER GOOGLE CAST SUPPORTS
SENDER APPLICATIONS WRITTEN FOR THE ANDROID, IOS, AND CHROME PLATFORMS.
7.
MY CHROMECAST GENERIC
SENDER sendev-cast.gianarb.it/#/home
8.
.run(['$window','$timeout','$rootScope','$q',functionrun($window,$timeout,$ro otScope,$q){ /** *Managehistory */ $rootScope.logs=[]; /** *Castisready?! */ if(!$window.chrome.cast||!$window.chrome.cast.isAvailable){ vardef=$q.defer(); def.resolve(chrome.cast); $rootScope.cast=def.promise; } }])
9.
$rootScope.cast.then(function(cast){ $window.sessionRequest=newchrome.cast.SessionRequest(appId); $rootScope.configuration.appId=appId; varapiConfig=newchrome.cast.ApiConfig( $window.sessionRequest, $window.sessionListener, $window.receiverListener ); cast.initialize( apiConfig, function(event){ console.log("Good!"); }, function(event){ if(event){ console.log("D'oh"); } } ); });
10.
$scope.cast=function(){ $rootScope.cast.then(function(cast){ cast.requestSession(function(e){ $window.session=e; },function(){ console.log("ERROR"); }); }); };
11.
WORK WITH BUS $window.session.sendMessage( namespace, message, function(e){ console.log("OK"); }, function(e){ console.log("error"); } );
12.
WORK WITH MEDIA $scope.loadMedia=function(url) { varonMediaDiscovered=function(how,media){ console.log("newmediasessionID:"+media.mediaSessionId); $scope.currentMedia=media; }; $rootScope.cast.then(function(cast){ varmediaInfo=newcast.media.MediaInfo(url); mediaInfo.contentType='video/mp4'; varrequest=newchrome.cast.media.LoadRequest(mediaInfo); request.autoplay=true; request.currentTime=0; session.loadMedia(request, onMediaDiscovered.bind(this,'loadMedia'), function(e){ $rootScope.logs.push({ message:e, type:"error" }); } ); }); };
13.
BUS RECEIVER varhandlers={ onReady:function(event){ $rootScope.$broadcast("$castOnReady",event); session.setApplicationState("Applicationstatusisready..."); }, onSenderConnected:function(event){ statusConnect=true; $rootScope.$broadcast("$castOnSenderConnected",event); }, onSenderDisconnected:function(event){ $rootScope.$broadcast("$castOnSenderDisconnected",event); if(session.getSenders().length===0){ window.close(); } }, onSystemVolumeChanged:function(event){ $rootScope.$broadcast("$castOnSystemVolumeChanged",event); }, onMessage:function(event){ $rootScope.$broadcast("$cast-urn:x-cast:com.corley.google.cast",even t); messageBus.send(event.senderId,event.data); } };
14.
session=cast.receiver.CastReceiverManager.getInstance(); session.onSenderDisconnected=handlers.onSenderDisconnected; session.onSenderConnected=handlers.onSenderConnected; session.onSystemVolumeChanged=handlers.onSystemVolumeChanged; session.onReady=handlers.onReady; messageBus=session.getCastMessageBus('urn:x-cast:com.corley.google.cast'); messageBus.onMessage=handlers.onMessage;
15.
THANKS AND GOOD
PATY
Download now