Is it possible to change the video resolutions dynamically?

Hi, as you know users can have different internet bandwidth and different camera quality. Also their network speed can change in time. Is it possible to set video resolutions dynamically to overcome this problems?

1 Like

In OpenVidu is defined at the beginning and always in considered as a hint to the browser to define the maximum quality.

WebRTC adaptative bitrate mechanishm is responsible to adapt any video value to network conditions.

1 Like

Thanks micael!
So for example, if we set resolution to 720p (1280x720), the WebRTC automatically adapts to lower bitrates for users with slow connections, no need to do any extra work, right?

Yep, that is. WebRTC will do it for you. Reducing resolution, frames per second or compression level.

Thats Great! Thanks again.

But, what about the subscribers? Could their get a lower quality if their bandwidth is poor? I mean, the publisher works in NASA, so he doesn’t have bandwidth problems, some subscribers live in USA and don’t have bandwidth problems either, but a few subscribers live in Argentina (a poor south American country) and connect over 3G, with a low bandwidth, so if I send them the same video quality they will have problems. Do the webrtc or OpenVidu browser client a lower video quality subscription? Or only can subscribe to the published quality subscription?

To send lower video quality to users with bad network connection using WebRTC technology then simulcast or SVC has to be used.

We are working to include those features in upcoming OpenVidu PRO version in 2/3 months.

Stay tuned.

Hi Micael!
This is must-have feature! Do you have any news about it? Will OpenVidu CE include this feature?

Simulcast and SVC will be included in OpenVidu PRO.

But right now you can change resolution if you want using low level WebRTC API in some browsers:

2 Likes

Thanks a lot, Micael!

we are facing similar issue too. The network quality is poor for certain customers and also it is very very pixalated. Can you help us

You will be able to use simulcast in OpenVidu PRO in the near future.

Today it not possible to stream different qualities to different users.

Regards