The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. Error while using web sdk 1.9.5

Description
I am getting error while joining a meeting using web SDK(1.9.5), earlier it was working fine with 1.9.0 version. Unable to join or start meeting now. What could be the problem with SDK.

Error
[Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet)

Updated error on enabling info -
navigator.MediaDevices.getUserMedia error: ,Starting videoinput failed,AbortError

Which Web Client SDK version?
I am using web SDK 1.9.5. Earlier I was using 1.9.0.

Hey @devendra ,

Can you please provide screenshots of the issue, and the browser and browser version you are using?

Thanks,
Tommy

Hello @tommy ,

Here are logs from browsers.

Browser - Firefox (89.0.1)

################# states: ,true,true,true zoom-meeting-1.9.5.min.js:2:837532

@ UI audio rules: ,true,true,false zoom-meeting-1.9.5.min.js:2:837532

@ UI video rules: ,true zoom-meeting-1.9.5.min.js:2:837532

INIT, isAudioConnected, isMicUnmuted, isVideoStarted,true,true,true zoom-meeting-1.9.5.min.js:2:837532

Uncaught (in promise) TypeError: ‘camera’ (value of ‘name’ member of PermissionDescriptor) is not a valid value for enumeration PermissionName.

registerAVPermissionChange https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

l https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

l https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

React 8

notify https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

notifyNestedSubs https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

notifySubscribers https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

handleChangeWrapper https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

Redux 3

value https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

x https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

init https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

onreadystatechange https://dev.joomla6teen.com/devendra/program-schedule/program/425/test-embed-zoom-session:1590

sessionCheckin https://dev.joomla6teen.com/devendra/program-schedule/program/425/test-embed-zoom-session:1554

javascript:sessionCheckin(425,8001,1);:1

zoom-meeting-1.9.5.min.js:2:2790884

Uncaught (in promise) TypeError: ‘microphone’ (value of ‘name’ member of PermissionDescriptor) is not a valid value for enumeration PermissionName.

registerAVPermissionChange https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

l https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

l https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

React 8

notify https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

notifyNestedSubs https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

notifySubscribers https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

handleChangeWrapper https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

Redux 3

value https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

x https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

init https://source.zoom.us/zoom-meeting-1.9.5.min.js:2

onreadystatechange https://dev.joomla6teen.com/devendra/program-schedule/program/425/test-embed-zoom-session:1590

sessionCheckin https://dev.joomla6teen.com/devendra/program-schedule/program/425/test-embed-zoom-session:1554

javascript:sessionCheckin(425,8001,1);:1

zoom-meeting-1.9.5.min.js:2:2790884

navigator.MediaDevices.getUserMedia error: ,Starting videoinput failed,AbortError zoom-meeting-1.9.5.min.js:2:837270

Action is triggered and the result is zoom-meeting-1.9.5.min.js:2:837532

lib state => isAudioConnected, zoom-meeting-1.9.5.min.js:2:837532

lib state => isMicUnmuted, zoom-meeting-1.9.5.min.js:2:837532

lib state => isVideoStarted, zoom-meeting-1.9.5.min.js:2:837532

End zoom-meeting-1.9.5.min.js:2:837532

############ error @1st: ,[object Object] zoom-meeting-1.9.5.min.js:2:837532

Action is triggered and the result is zoom-meeting-1.9.5.min.js:2:837532

page state => isAudioConnected,true zoom-meeting-1.9.5.min.js:2:837532

page state => isMicUnmuted,true zoom-meeting-1.9.5.min.js:2:837532

page state => isVideoStarted,true zoom-meeting-1.9.5.min.js:2:837532

End zoom-meeting-1.9.5.min.js:2:837532

Action is triggered and the result is zoom-meeting-1.9.5.min.js:2:837532

page state => isAudioConnected,true zoom-meeting-1.9.5.min.js:2:837532

page state => isMicUnmuted,true zoom-meeting-1.9.5.min.js:2:837532

page state => isVideoStarted,true zoom-meeting-1.9.5.min.js:2:837532

End


Browser - Chrome - Version 91.0.4472.114 (Official Build) (64-bit)

Zoom support you browser. Chrome/91.0.4472.114
zoom-meeting-1.9.5.min.js:2 You browser support below features
test-embed-zoom-session:371 _firebaSesessionFlag = 0
zoom-meeting-1.9.5.min.js:2 pre load wasm success: https://jssdk.zoomus.cn/1.9.5/lib/av/6568_audio.encode.wasm
zoom-meeting-1.9.5.min.js:2 pre load wasm success: https://jssdk.zoomus.cn/1.9.5/lib/av/6568_video.simd.wasm

################# states: ,true,true,true
zoom-meeting-1.9.5.min.js:2 @ UI audio rules: ,true,true,false
zoom-meeting-1.9.5.min.js:2 @ UI video rules: ,true
zoom-meeting-1.9.5.min.js:2 INIT, isAudioConnected, isMicUnmuted, isVideoStarted,true,true,true
zoom-meeting-1.9.5.min.js:2 [Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet)
e @ zoom-meeting-1.9.5.min.js:2
h @ zoom-meeting-1.9.5.min.js:2
v @ zoom-meeting-1.9.5.min.js:2
g @ zoom-meeting-1.9.5.min.js:2
O @ zoom-meeting-1.9.5.min.js:2
Promise.then (async)
w @ zoom-meeting-1.9.5.min.js:2
(anonymous) @ zoom-meeting-1.9.5.min.js:2
(anonymous) @ zoom-meeting-1.9.5.min.js:2
qi @ react-dom.min.js:130
ui @ react-dom.min.js:133
(anonymous) @ react-dom.min.js:158
unstable_runWithPriority @ react.min.js:27
Vc @ react-dom.min.js:158
Sc @ react-dom.min.js:158
Z @ react-dom.min.js:156
Zg @ react-dom.min.js:159
notify @ zoom-meeting-1.9.5.min.js:2
n.notifyNestedSubs @ zoom-meeting-1.9.5.min.js:2
t.notifySubscribers @ zoom-meeting-1.9.5.min.js:2
n.handleChangeWrapper @ zoom-meeting-1.9.5.min.js:2
a @ redux.min.js:1
(anonymous) @ redux-thunk.min.js:1
(anonymous) @ redux.min.js:1
value @ zoom-meeting-1.9.5.min.js:2
x @ zoom-meeting-1.9.5.min.js:2
init @ zoom-meeting-1.9.5.min.js:2
obj.onreadystatechange @ test-embed-zoom-session:1589
XMLHttpRequest.send (async)
sessionCheckin @ test-embed-zoom-session:1550
(anonymous) @ VM465:1
zoom-meeting-1.9.5.min.js:2 InputMicDetector is listening
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 lib state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 lib state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 lib state => isVideoStarted,
zoom-meeting-1.9.5.min.js:2 End
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 lib state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 lib state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 lib state => isVideoStarted,
zoom-meeting-1.9.5.min.js:2 End
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 lib state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 lib state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 lib state => isVideoStarted,true
zoom-meeting-1.9.5.min.js:2 End
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 lib state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 lib state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 lib state => isVideoStarted,true
zoom-meeting-1.9.5.min.js:2 End
zoom-meeting-1.9.5.min.js:2 ############ payload @1st: ,[object Object]
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 page state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 page state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 page state => isVideoStarted,true
zoom-meeting-1.9.5.min.js:2 End
zoom-meeting-1.9.5.min.js:2 @ UI audio rules: ,true,true,false
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 page state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 page state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 page state => isVideoStarted,true
zoom-meeting-1.9.5.min.js:2 End
zoom-meeting-1.9.5.min.js:2 @ UI video rules: ,true
zoom-meeting-1.9.5.min.js:2 Action is triggered and the result is
zoom-meeting-1.9.5.min.js:2 lib state => isAudioConnected,true
zoom-meeting-1.9.5.min.js:2 lib state => isMicUnmuted,true
zoom-meeting-1.9.5.min.js:2 lib state => isVideoStarted,true
zoom-meeting-1.9.5.min.js:2

End

Thanks,
Devendra

Hey @devendra ,

The ScriptProcessorNode warning is unrelated to the error. The notice is just a warning – it cannot cause the issue.

Can you share a screenshot of the issue please?

Double check you have fully migrated from 1.9.0 to 1.9.5. If there is a place where you are unintentionally using two different versions, it could cause issues.

Thanks,
Tommy

Hi @tommy ,

I have double checked the code and I have updated the version from 1.9.0 to 1.9.5.
Doc reference - https://marketplace.zoom.us/docs/sdk/native-sdks/web/build

I am not getting any error on the screen that I can share with you.

I have already shared the logs from Firefox and Chrome.
I suspect the below defined error in log may be causing the problem.

If you have a working demo code, you can share it with me.
I have already downloaded the sample app from github ( GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample ) , but it is not working.

Thanks,
Devendra

Hey @devendra,

For me, the Sample Web App isn’t showing this issue so I would like to reference that but it looks like that is exhibiting this issue for you.

First I would confirm that your microphone and camera are accessible by the web application. You can also try joining without audio or video to isolate the issue.

If that doesn’t help, please send an email to developersupport@zoom.us with a link to this thread. In that ticket, please provide the meeting configuration that you’re using and I’ll continue my efforts to reproduce this error.

Thanks,
Max

1 Like

Hey @devendra,

As a follow up, are you seeing this when using the SDK with Angular? I think this might be specifically related to that.

Thanks,
Max

Hi @MaxM ,

I am not using the SDK with angular.

Thanks
Devendra

Hey @devendra,

Thanks for confirming. I see that you’ve submitted a ticket, I’ll follow up with you there.

Thanks,
Max

Hey @devendra ,

What is the issue you are seeing with the sample app?

We cannot reproduce this issue with the sample app.

Thanks,
Tommy

hello @tommy ,

Let me tell you how I am using the sample app(1.9.6).

Step 1. Downloaded the sample app from this link.

Step 2. Uploaded it to my server directory and updated API_KEY and API_SECRET.

Step 3: Access the CDN folder from the URL, fill the meeting number in the field provided and hit the JOIN button.

It supposedly starts the meeting in the below section but I am redirected to a new tab with a broken link.

Let me know if I am missing something or doing anything wrong.

Thanks,
Devendra

Hey @devendra,

Are you able to share the URL that you are redirected to as well as a screenshot of the error that you’re seeing? I’ll investigate further from there.

Thanks,
Max

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.