Unable to stream video over a websocket to Firefox

前端 未结 2 811
故里飘歌
故里飘歌 2020-12-10 04:58

I have written some code stream video over a websocket so a sourcebuffer which works in Chrome and Edge.

However, when I run this in Firefox, the video

2条回答
  •  隐瞒了意图╮
    2020-12-10 05:22

    Could not reproduce element not playing at firefox 47.

    Merged approaches at Mocking Websocket Message Events to create mock WebSocket events; bufferAll.html demo at Let's Make a Netflix An Intro to Streaming Media on the Web for MediaSource usage pattern.

    Included and progress event to notify user of media loading status.

    
    
      
        
      
      
        

    plnkr http://plnkr.co/edit/RCIqDXTB2BL3lec9bhfz

提交回复
热议问题