lihaosky / google-cast-sdk

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

getBufferDuration causes internal media_player.js error #294

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

This happens intermittently and I have not been able to isolate the steps. 
However, there is a stack trace so it may help.

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

- This is the general form of the code I use:

var bufferedSecs = window.mediaPlayer.getBufferDuration(i);

where mediaPlayer is not null

- What is expected:

bufferedSecs gets the buffer duration

- What I see:

Uncaught TypeError: Cannot call method 'rb' of undefined
(media_player.js:2935)

The line # is not what the obfuscated line # is, it's what I get after I use 
the Chrome Remote Debugger to expand ('unobfuscate') to obfuscated 
media_player.js; I thought that might help you more since it can locate a 
specific line of code instead of having it be in a mishmash somewhere.

Original issue reported on code.google.com by j...@tivli.com on 17 Jun 2014 at 2:59

GoogleCodeExporter commented 9 years ago
Can you provide a sample stream and the full log?

Original comment by jonathan...@google.com on 6 Nov 2014 at 9:29

GoogleCodeExporter commented 9 years ago
Closing due to lack of response.

Original comment by jonathan...@google.com on 22 Nov 2014 at 12:24