Say you want to show the number of people are viewing the broadcast (one-way) for every viewers.
I would imagine for the app, we track when people join and leave, then update the counter in our own database.
But from my understanding, there's no webhook action for viewer connecting to and dropping from the webRTC connection, how would we do this accurately and in real-time too?
Another alternative is to make the server to get the video summary for every X seconds, but this is incredibly inefficient.
Am I missing something?