googlecast / CastVideos-ios

Reference iOS Sender w/ Framework API: CastVideos-ios application shows how to cast videos from an iOS device that is fully compliant with the Cast Design Checklist.
Apache License 2.0
193 stars 63 forks source link

How to cast to Sony smart TV #60

Open phukhanhlee opened 6 years ago

phukhanhlee commented 6 years ago

I build this project but I don't see "Cast" button to cash to my Sony TV but my youtube app can cast. Can you give me some advice "How to cast video to android TV" ?

"Google Cast device" means Chrome Cast ?

NoRulesJustFeels commented 6 years ago

Make sure you have the latest Google Play services installed. Cast is only supported with Android TV's and Chromecast devices.

YouTubes uses its own custom discovery mechanism that is different from Cast.

phukhanhlee commented 6 years ago

As my understanding, We need two app (sender app and receiver app ) to display video from iOS app to smart TV. In this context, we need install receiver app(https://github.com/googlecast/CastReferencePlayer) on Chrome cast and then we can cast video from iOS App (CastVideos-ios project) to TV ? I see in my Sony TV, it's already have Youtube App on it.

My idea is I want to build app that can mirror screen of iPhone to any smart TV. (I saw some app can do that without install any app on TV) But I don't know how to start with. Google Cast is a great lib but it seems can't apply in my case.

NoRulesJustFeels commented 6 years ago

Unless your TV is based on Android TV, Cast will not work with that TV.