Closed josmangarsal closed 7 years ago
Hi @josmanual @jainamritanshu, I guess that the problem is that peers are not sharing its chunks among them. Please, verify that. Take into account that we want to follow the DBS set of rules from the P2PSP protocol (avoid congestion mode). So, when a peer receives a message from the splitter (sender), the peer saves the chunk and shares it following the peers list, the event of sending is triggered with the reception of a new chunk (from other peers). If the peer receives a chunk from the splitter before it finishes to send its chunk to the entire team, it sends the chunk in a loop (burst mode).
Please read about it in the P2PSP DBS Doc. Check the P2PSP WebRTC Experiments, specifically the code in channel.onmessage function in peer.js For further questions ask us on Gitter or Slack.
It was fixed in PR #19 where DBS is implemented.
The video keep loading forever. And pause/play messages apear randomly.