How to calculate bandwidth session?

Hi,

Is there any way to calculate bandwidth used per session in Openvidu? Any formula?

Thanks,
Vineeth

1 Like

search webrtc stats in that you will got info realtime

2 Likes

@vipin_mishra Thanks. Can you give me some link where I can find a way to do the same?

Thanks,
Vineeth.

The bandwidth used by every participant is calculated multiplying the number of streams per bandwidth used per stream. By default OpenVidu uses 1 Megabit per second per stream as maximum. Then, a session with 4 participants if all of them are publishing, then the bandwidth per participant is one upload stream (1 megabit per second) and 3 download streams (3 megabits per second).

2 Likes

Thank you @micael.gallego.