2013-08-12 23 views
0

我一直在尋找一個最近的chromecast示例應用程序,發現他們沒有包含一個示例receiver.html? https://github.com/googlecast/cast-ios-demo-playerreceiver.html在chromecast流程中的作用是什麼?需要嗎?

我的印象是這是需要的receiver.html,並在代碼中指定,就像在https://github.com/googlecast/cast-ios-sample最初的例子

有人能幫助澄清這一新的例子是怎麼回事?我還沒有能夠確定它在項目中指定的位置?

回答

2

使用接收器https://github.com/googlecast/cast-android-sample/tree/master/receiver進行所有演示。 (Android,iOS和Chrome)

+0

您能否指出我在指定接收方地址的項目中? https://github.com/googlecast/cast-ios-demo-player –

+0

第27行,你的應用程序ID在這裏,接收器,和第24行CastViewController.m –

+0

好吧,裸在這裏,第24行是:static NSString * kReceiverAppName = @「[YOUR_APP_NAME]」;您是否說收件人網址應該放入「YOUR_APP_NAME」?在另一個例子中(第40行GCKAppDelegate.m),你實際上設置了接收者URL。當使用應用程序ID(與「app_name」同義)時,不再需要它嗎?) –