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
Report
Share
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.
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 En
Non Conventional Android Programming En
guest9bcef2f
Non Conventional Android Programming (English)
Non Conventional Android Programming (English)
Davide Cerbo
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 En
Non Conventional Android Programming En
Non Conventional Android Programming (English)
Non Conventional Android Programming (English)
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
ERP For Electrical and Electronics manufecturing.pptx
ERP For Electrical and Electronics manufecturing.pptx
Autus Cyber Tech
Salesforce AI Associate Certification.pptx
Salesforce AI Associate Certification.pptx
Salesforce Developer Group, Bauchi.
online pdf editor software solutions.pdf
online pdf editor software solutions.pdf
Meon Technology
Streamlining Your Application Builds with Cloud Native Buildpacks
Streamlining Your Application Builds with Cloud Native Buildpacks
Vish Abrams
eAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspections
Nirav Modi
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security Challenges
Shyamsundar Das
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
Sharon Liu
AI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human Beauty
Raymond Okyere-Forson
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Alluxio, Inc.
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Jaydeep Chhasatia
OpenChain Webinar: Universal CVSS Calculator
OpenChain Webinar: Universal CVSS Calculator
Shane Coughlan
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptx
João Esperancinha
How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?
AmeliaSmith90
Generative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-Council
VICTOR MAESTRE RAMIREZ
Growing Oxen: channel operators and retries
Growing Oxen: channel operators and retries
SoftwareMill
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Dista
Webinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.ppt
kinjal48
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
Tobias Schneck
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG time
Neo4j
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
elliciumsolutionspun
Recently uploaded
(20)
ERP For Electrical and Electronics manufecturing.pptx
ERP For Electrical and Electronics manufecturing.pptx
Salesforce AI Associate Certification.pptx
Salesforce AI Associate Certification.pptx
online pdf editor software solutions.pdf
online pdf editor software solutions.pdf
Streamlining Your Application Builds with Cloud Native Buildpacks
Streamlining Your Application Builds with Cloud Native Buildpacks
eAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspections
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security Challenges
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
AI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human Beauty
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
OpenChain Webinar: Universal CVSS Calculator
OpenChain Webinar: Universal CVSS Calculator
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptx
How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?
Generative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-Council
Growing Oxen: channel operators and retries
Growing Oxen: channel operators and retries
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Webinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.ppt
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG time
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
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