gingerbeur / google-cast-sdk

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

Cast Extension sending large messages breaks extension #414

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get new session from cast extension.
2. Send large message through sendMessage
3. var string = Array(64*1024).join("x");
4. session.sendMessage(namespace, { data: string }, successCb, errorCb);

What is the expected output? What do you see instead?
Fail gracefully by rejecting too large of data.
It breaks the entire extension, having to restart the cast extension entirely 
to make it usable again. Every subsequent message sent is rejected with error: 
"channel_error" "Channel to receiver not available."

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

Original issue reported on code.google.com by mathieu....@matbee.com on 24 Oct 2014 at 4:49

GoogleCodeExporter commented 9 years ago
We will look into this. Thanks for reporting it.

Original comment by and...@google.com on 30 Oct 2014 at 3:50

GoogleCodeExporter commented 9 years ago
I was wondering about the status of this bug. Is anyone working on this bug? If 
not, then I would like to investigate this one.

- Sanchit Gupta

Original comment by sanchit9...@gmail.com on 8 Feb 2015 at 7:57