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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...