SlideShare a Scribd company logo
Submit Search
Upload
Chromecast - DevParty Torino 2014
Report
Share
Corley S.r.l.
Corley S.r.l.
Follow
•
0 likes
•
1,283 views
1
of
15
Chromecast - DevParty Torino 2014
•
0 likes
•
1,283 views
Report
Share
Download Now
Download to read offline
Software
Chromecast by Google - Gianluca Arbezzano @ CorleyCloud
Read more
Corley S.r.l.
Corley S.r.l.
Follow
Recommended
Play勉強会 playをGAEで動かそう! by
Play勉強会 playをGAEで動かそう!
Daisuke Kasuya
2.2K views
•
44 slides
Winefontssmoothing en by
Winefontssmoothing en
munjikuo
483 views
•
2 slides
מחברת וירטואלית, ביולוגיה by
מחברת וירטואלית, ביולוגיה
תוכנית נחשון
279 views
•
5 slides
Game development by
Game development
Asido_
402 views
•
67 slides
מחברת וירטואלית, ביולוגיה, תש by
מחברת וירטואלית, ביולוגיה, תש
תוכנית נחשון
318 views
•
8 slides
Dev party 2014 - AWS & JS by
Dev party 2014 - AWS & JS
Corley S.r.l.
577 views
•
22 slides
More Related Content
Similar to Chromecast - DevParty Torino 2014
The chromecast's guide to the galaxy by
The chromecast's guide to the galaxy
Roc Boronat
4.8K views
•
31 slides
State of Web APIs 2017 by
State of Web APIs 2017
Carsten Sandtner
374 views
•
98 slides
Developing Desktop Applications using HTML and Javascript by
Developing Desktop Applications using HTML and Javascript
Jeff Haynie
8.2K views
•
22 slides
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013 by
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Amazon Web Services
7.9K views
•
67 slides
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V... by
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Amazon Appstore Developers
742 views
•
61 slides
The Modern Developer Toolbox by
The Modern Developer Toolbox
Pablo Godel
2.6K views
•
115 slides
Similar to Chromecast - DevParty Torino 2014
(20)
The chromecast's guide to the galaxy by Roc Boronat
The chromecast's guide to the galaxy
Roc Boronat
•
4.8K views
State of Web APIs 2017 by Carsten Sandtner
State of Web APIs 2017
Carsten Sandtner
•
374 views
Developing Desktop Applications using HTML and Javascript by Jeff Haynie
Developing Desktop Applications using HTML and Javascript
Jeff Haynie
•
8.2K views
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013 by Amazon Web Services
Zero to Sixty: AWS Elastic Beanstalk (DMG204) | AWS re:Invent 2013
Amazon Web Services
•
7.9K views
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V... by Amazon Appstore Developers
Creating Rich Multi-Screen Experiences on Android with Amazon Fling - Mario V...
Amazon Appstore Developers
•
742 views
The Modern Developer Toolbox by Pablo Godel
The Modern Developer Toolbox
Pablo Godel
•
2.6K views
[rwdsummit2012] Adaptive Images in Responsive Web Design by Christopher Schmitt
[rwdsummit2012] Adaptive Images in Responsive Web Design
Christopher Schmitt
•
6.8K views
[cssdevconf] Adaptive Images in RWD by Christopher Schmitt
[cssdevconf] Adaptive Images in RWD
Christopher Schmitt
•
8.3K views
[convergese] Adaptive Images in Responsive Web Design by Christopher Schmitt
[convergese] Adaptive Images in Responsive Web Design
Christopher Schmitt
•
4.8K views
Non Conventional Android Programming En by guest9bcef2f
Non Conventional Android Programming En
guest9bcef2f
•
548 views
Non Conventional Android Programming (English) by Davide Cerbo
Non Conventional Android Programming (English)
Davide Cerbo
•
999 views
Composer for Busy Developers - php|tek13 by Rafael Dohms
Composer for Busy Developers - php|tek13
Rafael Dohms
•
11.1K views
[html5tx] Adaptive Images in Responsive Web Design by Christopher Schmitt
[html5tx] Adaptive Images in Responsive Web Design
Christopher Schmitt
•
5.3K views
Lights, Camera, Docker: Streaming Video at DramaFever by bridgetkromhout
Lights, Camera, Docker: Streaming Video at DramaFever
bridgetkromhout
•
3.1K views
FreeBSD: Dev to Prod by Sean Chittenden
FreeBSD: Dev to Prod
Sean Chittenden
•
1.1K views
[refreshaustin] Adaptive Images in Responsive Web Design by Christopher Schmitt
[refreshaustin] Adaptive Images in Responsive Web Design
Christopher Schmitt
•
33.2K views
Vagrant for real by Michele Orselli
Vagrant for real
Michele Orselli
•
1.6K views
Tools that help and speed up RWD dev by Matjaž Korošec
Tools that help and speed up RWD dev
Matjaž Korošec
•
4.8K views
[HEWEBAR 2012] Adaptive Images in Responsive Web Design by Christopher Schmitt
[HEWEBAR 2012] Adaptive Images in Responsive Web Design
Christopher Schmitt
•
1.5K views
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St... by Atlassian
Satellite Apps around the Cloud: Integrating your infrastructure with JIRA St...
Atlassian
•
462 views
More from Corley S.r.l.
Aws rekognition - riconoscimento facciale by
Aws rekognition - riconoscimento facciale
Corley S.r.l.
313 views
•
18 slides
AWSome day 2018 - scalability and cost optimization with container services by
AWSome day 2018 - scalability and cost optimization with container services
Corley S.r.l.
273 views
•
34 slides
AWSome day 2018 - API serverless with aws by
AWSome day 2018 - API serverless with aws
Corley S.r.l.
203 views
•
38 slides
AWSome day 2018 - database in cloud by
AWSome day 2018 - database in cloud
Corley S.r.l.
195 views
•
36 slides
Trace your micro-services oriented application with Zipkin and OpenTracing by
Trace your micro-services oriented application with Zipkin and OpenTracing
Corley S.r.l.
1.3K views
•
46 slides
Apiconf - The perfect REST solution by
Apiconf - The perfect REST solution
Corley S.r.l.
305 views
•
14 slides
More from Corley S.r.l.
(20)
Aws rekognition - riconoscimento facciale by Corley S.r.l.
Aws rekognition - riconoscimento facciale
Corley S.r.l.
•
313 views
AWSome day 2018 - scalability and cost optimization with container services by Corley S.r.l.
AWSome day 2018 - scalability and cost optimization with container services
Corley S.r.l.
•
273 views
AWSome day 2018 - API serverless with aws by Corley S.r.l.
AWSome day 2018 - API serverless with aws
Corley S.r.l.
•
203 views
AWSome day 2018 - database in cloud by Corley S.r.l.
AWSome day 2018 - database in cloud
Corley S.r.l.
•
195 views
Trace your micro-services oriented application with Zipkin and OpenTracing by Corley S.r.l.
Trace your micro-services oriented application with Zipkin and OpenTracing
Corley S.r.l.
•
1.3K views
Apiconf - The perfect REST solution by Corley S.r.l.
Apiconf - The perfect REST solution
Corley S.r.l.
•
305 views
Apiconf - Doc Driven Development by Corley S.r.l.
Apiconf - Doc Driven Development
Corley S.r.l.
•
202 views
Authentication and authorization in res tful infrastructures by Corley S.r.l.
Authentication and authorization in res tful infrastructures
Corley S.r.l.
•
278 views
Flexibility and scalability of costs in serverless infrastructures by Corley S.r.l.
Flexibility and scalability of costs in serverless infrastructures
Corley S.r.l.
•
174 views
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application by Corley S.r.l.
CloudConf2017 - Deploy, Scale & Coordinate a microservice oriented application
Corley S.r.l.
•
325 views
React vs Angular2 by Corley S.r.l.
React vs Angular2
Corley S.r.l.
•
629 views
A single language for backend and frontend from AngularJS to cloud with Clau... by Corley S.r.l.
A single language for backend and frontend from AngularJS to cloud with Clau...
Corley S.r.l.
•
349 views
AngularJS: Service, factory & provider by Corley S.r.l.
AngularJS: Service, factory & provider
Corley S.r.l.
•
1.5K views
The advantage of developing with TypeScript by Corley S.r.l.
The advantage of developing with TypeScript
Corley S.r.l.
•
1.3K views
Angular coding: from project management to web and mobile deploy by Corley S.r.l.
Angular coding: from project management to web and mobile deploy
Corley S.r.l.
•
893 views
Corley cloud angular in cloud by Corley S.r.l.
Corley cloud angular in cloud
Corley S.r.l.
•
801 views
Measure your app internals with InfluxDB and Symfony2 by Corley S.r.l.
Measure your app internals with InfluxDB and Symfony2
Corley S.r.l.
•
4.5K views
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda by Corley S.r.l.
Read Twitter Stream and Tweet back pictures with Raspberry Pi & AWS Lambda
Corley S.r.l.
•
3.6K views
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L... by Corley S.r.l.
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Corley S.r.l.
•
6.3K views
Middleware PHP - A simple micro-framework by Corley S.r.l.
Middleware PHP - A simple micro-framework
Corley S.r.l.
•
8.3K views
Recently uploaded
Unleash The Monkeys by
Unleash The Monkeys
Jacob Duijzer
8 views
•
28 slides
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller
40 views
•
62 slides
Short_Story_PPT.pdf by
Short_Story_PPT.pdf
utkarshsatishkumarsh
5 views
•
16 slides
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm
15 views
•
19 slides
MS PowerPoint.pptx by
MS PowerPoint.pptx
Litty Sylus
5 views
•
14 slides
WebAssembly by
WebAssembly
Jens Siebert
51 views
•
18 slides
Recently uploaded
(20)
Unleash The Monkeys by Jacob Duijzer
Unleash The Monkeys
Jacob Duijzer
•
8 views
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller
•
40 views
Short_Story_PPT.pdf by utkarshsatishkumarsh
Short_Story_PPT.pdf
utkarshsatishkumarsh
•
5 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm
•
15 views
MS PowerPoint.pptx by Litty Sylus
MS PowerPoint.pptx
Litty Sylus
•
5 views
WebAssembly by Jens Siebert
WebAssembly
Jens Siebert
•
51 views
SAP FOR CONTRACT MANUFACTURING.pdf by Virendra Rai, PMP
SAP FOR CONTRACT MANUFACTURING.pdf
Virendra Rai, PMP
•
13 views
Advanced API Mocking Techniques by Dimpy Adhikary
Advanced API Mocking Techniques
Dimpy Adhikary
•
19 views
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by Lisi Hocke
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Lisi Hocke
•
35 views
AI and Ml presentation .pptx by FayazAli87
AI and Ml presentation .pptx
FayazAli87
•
12 views
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft... by Deltares
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
Deltares
•
7 views
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h... by Deltares
DSD-INT 2023 Exploring flash flood hazard reduction in arid regions using a h...
Deltares
•
9 views
EV Charging App Case by iCoderz Solutions
EV Charging App Case
iCoderz Solutions
•
5 views
Myths and Facts About Hospice Care: Busting Common Misconceptions by Care Coordinations
Myths and Facts About Hospice Care: Busting Common Misconceptions
Care Coordinations
•
6 views
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action by Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok
•
6 views
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy
•
14 views
ShortStory_qlora.pptx by pranathikrishna22
ShortStory_qlora.pptx
pranathikrishna22
•
5 views
FIMA 2023 Neo4j & FS - Entity Resolution.pptx by Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j
•
8 views
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski
•
10 views
Keep by Geniusee
Keep
Geniusee
•
77 views
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