wavefree / google-cast-sdk

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

RAMP: getStreamPosition() erratically returns 0 for streams with no duration #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

When playing a stream with no duration (for example a transcoded stream), 
MediaProtocolMessageStream.getStreamPosition() most of the time returns 0 and 
sometimes erratically returns elapsed time for a short while before reverting 
to 0.

For a stream whose duration is undefined, 
MediaProtocolMessageStream.getStreamDuration() always returns 0 (which is 
fine), but it would be nice to have a value for getStreamPosition() especailly 
since his value is always correct in a RAMP status message, in the 
"current_time" field.

To reproduce it, simply play an unbounded stream with no duration such as a web 
radio mp3 stream.

Original issue reported on code.google.com by pujos.mi...@gmail.com on 15 Oct 2013 at 2:10

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.

Original comment by l...@google.com on 3 Feb 2014 at 11:19