lihaosky / google-cast-sdk

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

Enhancement: enable sender to set a disconnect reason when disconnecting #334

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When a sender disconnects from the receiver, the 
cast.receiver.system.DisconnectReason is either ERROR, REQUESTED_BY_SENDER, or 
UNKNOWN
2. It would be useful for the sender to be able to provide additional, perhaps 
app-specific reasons
3. The "reasons" that can be provided by the Chrome, iOS, and Android senders 
should be available to the receiver app, and the receiver can take appropriate 
action.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by m...@juko.fm on 17 Jul 2014 at 10:18

GoogleCodeExporter commented 9 years ago
The reasons that are currently available are the ones that we currently see 
important; a sender can always send its own message to receiver so we do not 
currently see any reason to change that.

Original comment by anad...@google.com on 17 Jul 2014 at 10:22