什么是google cast
google cast允许用户将手机上的内容投影到TV上,然后用户可以将手机作为遥控器来控制TV上的媒体播放。
Google cast SDK用于扩展你的app,使其支持google cast功能。
一个Cast App由两个部分组成
- Sender Application:支持Android,IOS,Chrome,runs on mobile device or laptop
- Receiver Application:runs on Google Cast devices,处理Sender和receiver device之间的通信,就是一个网页.可以有如下三个选项
● The Default Media Receiver presented with the Google Cast branding and styling.
● The Styled Media Receiver for which you can develop the styles and branding. See Styled Media Receiver.
● A custom receiver, as described in Custom receiver that implements the Receiver API and handles custom messages from your sender app; it may also i