Closed GoogleCodeExporter closed 8 years ago
that event is fired by the MediaElement; you can ignore that. Is that causing
an issue for you?
Original comment by anad...@google.com
on 28 Feb 2014 at 6:09
I copied and modified a receiver source from
https://github.com/googlecast/Cast-Player-Sample/blob/master/player.js to
support Smooth Streaming.
sampleplayer.CastPlayer.prototype.onStalled_ = function() {
console.log('onStalled');
this.setState_(sampleplayer.State.BUFFERING, false);
if (this.mediaElement_.currentTime) {
this.mediaElement_.load(); // see if we can restart the process
}
};
"mediaElement.load()" causes this issue. Removing it fixes this issue.
Please update " https://github.com/googlecast/Cast-Player-Sample " with
supporting Media Player Library.
Original comment by happy...@gmail.com
on 28 Feb 2014 at 6:30
The goal for that sample is not to have Media Player Library, you are welcome
to fork that and update that with that library.
Original comment by anad...@google.com
on 28 Feb 2014 at 6:36
Original issue reported on code.google.com by
happy...@gmail.com
on 28 Feb 2014 at 5:39