KirovBvulgaru / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Enhancement: Provide a way of getting app ID before starting CastReceiverManager #166

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have need of establishing a channel with the app ID in the channel namespace. 
Currently, this is not possible because of the following:

- appId is only available thru CastReceiverManager AFTER starting 
CastReceiverManager
- new channels cannot be added on the receiver end after starting 
CastReceiverManager

This problem could be solved by providing a way of accessing the appId before 
CastReceiverManager is started.

Original issue reported on code.google.com by ten90jwhite@gmail.com on 24 Feb 2014 at 12:53

GoogleCodeExporter commented 8 years ago
First, appId is not a dynamic thing, you have that when you create your 
receiver. Regardless CastReceiverManager is independent of your name space; you 
get that using something like cast.receiver.CastReceiverManager.getInstance() 
and then whenever you want, you can add a channel, so it is not clear to me why 
you stated "new channels cannot be added on the receiver end after starting 
CastReceiverManager". 

Original comment by anad...@google.com on 24 Feb 2014 at 1:14