Customize Audio/Video Parameters - Prebuilt
Custom Video Config
videoConfig
- type:
object
resolution
-
type:
String -
videoConfig.resolutionrepresents the resolution of your video which can beh90p_w160p,h180p_w320p,h216p_w384p,h360p_w640p,h540p_w960p,h720p_w1280p,h1080p_w1920p,h1440p_w2560p,h2160p_w3840p,h120p_w160p,h180p_w240p,h240p_w320p,h360p_w480p,h480p_w640p,h540p_w720p,h720p_w960p,h1080p_w1440porh1440p_w1920p.
optimizationMode
-
type:
String -
videoConfig.optimizationModerepresents the specific mode of your video which can bemotion,textordetail.
multiStream
-
type:
Boolean -
If it is
true, multiple resolution layers are send in single video stream. If it isfalse, then only single resolution layer is send in video stream.
meeting.init({
// other params
videoConfig: {
resolution: "h720p_w1280p",
optimizationMode: "motion",
multiStream: true,
},
// other params
});
Custom Audio Config
audioConfig
- type:
object
quality
-
type:
String -
audioConfig.qualityrepresents the quality of your audio which can bespeech_low_quality,speech_standard,music_standard,standard_stereo,high_qualityorhigh_quality_stereo.
meeting.init({
// other params
audioConfig: {
quality: "high_quality",
},
// other params
});
Custom Screen Share Config
screenShareConfig
- type:
object
resolution
-
type:
String -
screenShareConfig.resolutionrepresents the resolution of your screen shared video which can beh360p_30fps,h720p_5fps,h720p_15fps,h1080p_15fps,h1080p_30fps.
optimizationMode
-
type:
String -
screenShareConfig.optimizationModerepresents the specific mode of your screen shared video which can bemotion,textordetail.
meeting.init({
// other params
screenShareConfig: {
resolution: "h720p_5fps",
optimizationMode: "text",
},
// other params
});
Got a Question? Ask us on discord

