You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.
Janez Troha edited this page Sep 12, 2013
·
3 revisions
App creation
Entire thing is based around DIAL Protocol, which is used for discovery. Google extended Protocol with dynamic app creation and RESt interface to webchannel creation. Google also added extension to LEAP protocol when app is running. This mainly consists of sockets creation url for app and quick info about media being played.
Service creation
This step consist of establishing ChannelFactory service(created by screen app upon succesful launch) and subsequent Channels between Screen app and Mobile app. Screen app has only one ChannelFactory Service and many App channels. App channel consists of websocket connection to Screen app and Mobile app. Data is relayed between those two connections and no processing is done in underline relay mechanism. Commands are only processed for ChannelFactory. Those commands are REGISTER, NEWCHANNEL and CHANNELREQUEST.