How to send constant resolution 640x480

Skip to first unread message


Sep 29, 2022, 10:49:30 AMSep 29
to discuss-webrtc
Hi, I'm having trouble defining a video resolution in a video conferencing project. I need to always send 640x480 to SDK, I specify this in the getusermedia method. after reading the information in the forums, I realized that getusermedia will not give me what I want, since webrts itself determines the optimal resolution depending on the speed of the Internet and the CPU. My question is:

1) is it possible to specify a permission constant?
2) if yes, how to implement it?

Marcos G.

Sep 29, 2022, 2:36:16 PMSep 29
to discuss-webrtc

What browser are you using (assuming firefox)?

You're looking for something like this:

  audio: true,
  video: {
    width: { min: 1024, ideal: 1280, max: 1920 },
    height: { min: 576, ideal: 720, max: 1080 }

The terms you are looking for are "decimating frames" or "downscaling".

Chrome/Edge/Safari decimates frames just fine, firefox is the only major browser that doesn't at the moment. 

Please add a comment here if offering support for firefox in your application


Sep 30, 2022, 12:03:01 AMSep 30
to discuss-webrtc

no, it doesn't work in my case. talk about it Are there any examples of using these methods?
четверг, 29 сентября 2022 г. в 23:36:16 UTC+5,


Sep 30, 2022, 1:12:18 AMSep 30
to discuss-webrtc but it didn't work for me 

пятница, 30 сентября 2022 г. в 09:03:01 UTC+5, Genesis:

Rajneesh Soni

Oct 16, 2022, 2:49:38 AMOct 16
to discuss-webrtc
Reply all
Reply to author
0 new messages