Skip to content

Commit

Permalink
fix(samples): fix vbg and bnr working in int env (#3576)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarajes2 authored May 2, 2024
1 parent 9aa400d commit 5254bd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/samples/browser-plugin-meetings/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,8 @@ async function handleVbg() {
effect = await webex.meetings.createVirtualBackgroundEffect({
"mode": modeBtn.value,
"bgImageUrl": blurVBGImageUrl,
"bgVideoUrl": blurVBGVideoUrl
"bgVideoUrl": blurVBGVideoUrl,
env: integrationEnv.checked ? 'int' : 'prod',
});
handleEffectsButton(toggleVbgBtn, VBG, effect);
await localMedia.cameraStream.addEffect(effect);
Expand Down Expand Up @@ -1444,7 +1445,7 @@ async function handleBNR() {
console.log('MeetingControls#handleBNR() :: applying BNR to local microphone stream');

if (!effect) {
effect = await webex.meetings.createNoiseReductionEffect();
effect = await webex.meetings.createNoiseReductionEffect({env: integrationEnv.checked ? 'int' : 'prod'});
handleEffectsButton(toggleBNRBtn, BNR, effect);
await localMedia.microphoneStream.addEffect(effect);
}
Expand Down

0 comments on commit 5254bd8

Please sign in to comment.