You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to reduce the data used by video stream subscribers. How can I set the aggregate resolution of my video below 1280 × 720?
I have tried using stream.setVideoProfile('120p_1') and/or the code below but none of them seems to be working. Perhaps, I'm defining them in the wrong places? I am currently defining it in utils/agora-web-client.ts just before stream.init(.... Can anyone point me in the right direction please?
stream.setVideoEncoderConfiguration({// The video resolution.resolution: {width: 640,height: 480,},// The video frame rate (fps). We recommend setting it as 15. Do not set it to a value greater than 30.frameRate: {min: 15,max: 30,},// The video bitrate (Kbps). Refer to the video profile table below to set this parameter.bitrate: {min: 1000,max: 5000,},})
The text was updated successfully, but these errors were encountered:
I am currently trying to reduce the data used by video stream subscribers. How can I set the aggregate resolution of my video below 1280 × 720?
I have tried using
stream.setVideoProfile('120p_1')
and/or the code below but none of them seems to be working. Perhaps, I'm defining them in the wrong places? I am currently defining it inutils/agora-web-client.ts
just beforestream.init(...
. Can anyone point me in the right direction please?The text was updated successfully, but these errors were encountered: