Closed jainamritanshu closed 7 years ago
Hi @jainamritanshu, It doesn't work properly for me yet. Play action is received for every peer, however, it's not the same with the Pause action. Now, sender can pause the stream for everyone but peers can't. Please, Could you recheck it? Thanks!
Hi @cristobalmedinalopez I checked it again, unfortunately the onpause event doesn't return a promise like the onplay event so I couldn't possibly reset the event handlers properly. It seems to be resolved now, kindly check it :smile:
Thanks! It works.
Hi, I have fixed the synchronized playback completely
There were some complications related to the multiple play/pause requests generated by the peers due to the events triggers of vid.onplay()/onpause() which resulted in messages from all peers to every other peer about his/her activity. This happened because the client could not detect the origin of the activity, I used a couple of callbacks to nullify and revamp the event triggers according to the origin of the playback activity
Fixed the inactivity caused by pressing the play/pause button from the sender end