The reference receiver has the following code:
this.mediaElement_.addEventListener('stalled', this.bufferingHandler_,
false);
this.mediaElement_.addEventListener('waiting', this.bufferingHandler_,
false);
and that bufferingHandler fires just fine when you seek on the video and it
buffers for a second or so but if the video buffers during normal playback that
bufferingHandler never fires.
I tested this by putting a breakpoint inside the function of bufferingHandler
while debugging on Chrome, and then I made my video server stop sending bytes
to the video player. This caused the video player to freeze the video, my
sender app got a buffering state, but the bufferingHandler function never got a
call. The reference receiver
(https://github.com/googlecast/CastReferencePlayer) also has some <div> which
show up when buffering and they didn't show up.
Original issue reported on code.google.com by car...@instantbits.com on 22 Oct 2015 at 4:15
Original issue reported on code.google.com by
car...@instantbits.com
on 22 Oct 2015 at 4:15