Jump to content
  • 0

How to change Video resolution ?


Ankit Kumar
 Share

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

Hi ankitgalaxy1994,

Actually, it's related to your camera resolution capability. WebRTC choosing resolution automatically according to your camera. Btw, you can define some changes for mediaConstraints.

var mediaConstraints = {
video: {
width: { min: 480, ideal: 1280, max: 1920 },
height: { min: 360, ideal: 720, max: 1080 }
},
audio: true
}

I hope, I could help you.

Best Regards,
Selim
Link to comment
Share on other sites

  • 0

Hi Shreeyansh,

You need to configure media constraints according to your requirements.
As I know, screen share using a 1080p resolution. So if you use 720p for ideal, it's normal that it won't work. You shouldn't use 720p resolution as an "ideal" parameter for screen sharing.

Also please check below links:

Best Regards,
Selim

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...