wavefree / google-cast-sdk

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

Google Picker API and Cast SDK interfere #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Good Case:

1. Manually create a MediaLoadRequest object with a URL of a publicly shared 
Drive media file.
2. cast_api.loadMedia(...); cast_api.playMedia(...);
3. Media Plays

Broken Case:

1. Add Google Picker API and Drive API to load the download/webContentLink urls.
2. Create a MediaLoadRequest using the webContentLink from the Drive API.
3. cast_api.loadMedia(...); cast_api.playMedia(...);

Expected:

Since the MediaLoadRequest object created in both instances are identical, I 
expected the same result.

Actual:

Instead, the request times out and the video doesn't play. Additionally, when 
remote debugging the receiver app, I can see in the WebSocket session that no 
RAMP LOAD command is being sent whenever the Picker and/or Drive APIs are 
present.

I'm "stock" everything with build 12840 running on the device.

These two URLs will show both cases:

http://cc-repro-sndr.mickens.us/
http://cc-repro-sndr2.mickens.us/

(Most repeated, but some additional) details here: 
http://stackoverflow.com/questions/18065221/using-google-picker-api-prevents-ram
p-load-from-being-issued

Original issue reported on code.google.com by cole.mickens on 5 Aug 2013 at 11:20

GoogleCodeExporter commented 9 years ago
Sent to engineering

Original comment by l...@google.com on 14 Aug 2013 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by mfo...@google.com on 23 Aug 2013 at 10:48

GoogleCodeExporter commented 9 years ago
The code for the sender pages can be found here, I'm going to take them out of 
my boxcars configuration.

https://github.com/colemickens/chromecast_playground

Original comment by cole.mickens on 25 Aug 2013 at 7:13

GoogleCodeExporter commented 9 years ago
Thank you for your support of Chromecast.  We've just released a major update 
to the Google Cast SDK and will be closing your issue.

Take a look at http://googledevelopers.blogspot.com/ for more information.

Let us know if you still see this with the new Google Cast Chrome Sender SDK at 
http://developers.google.com/cast.

Original comment by shawns...@google.com on 3 Feb 2014 at 11:16