I am creating an application for sharing music on django + channels. There was one problem that I can not solve. Each audio recording added by one of the participants should be played simultaneously for all, with the same timing, including those who enter during playback.

The only solution that occurred to me was to interrogate at the entrance of the admin room through the websocket, send back the timing and rearrange the player. However, this option will lead to a delay in the start of playback, and therefore to desynchronization. In addition, he is quite ugly in implementation. Perhaps there is some more simple / correct method to do what I need?

    0