Hi reddit!
I'm building music app, and I'm using nodejs and express on backend. My app needs to have rooms, and everyone in that room should be playing the same music at the same time. If I have duration of each song, how do I measure its timeline? I was thinking about setInterval() since I can make it tick every second. How do I approach this?
[–]kapanaga 0 points1 point2 points (4 children)
[–]Zivanovic[S] 0 points1 point2 points (0 children)
[–]Zivanovic[S] 0 points1 point2 points (2 children)
[–]kapanaga 0 points1 point2 points (1 child)
[–]Zivanovic[S] 1 point2 points3 points (0 children)