InvalidAccessError while accessing webcam

Hello all. I was working on mediasoup project and it was working well on chrome 138 but after update to Version 140.0.7339.127 (Official Build) (64-bit), I am getting InvalidAccessError: Failed to execute ‘setRemoteDescription’ on ‘RTCPeerConnection’: Failed to set remote answer sdp: Failed to set recv parameters for m-section with mid=‘0’. Mic is working well. When I unmute mic first and then the webcam, it works too, but cam wont work if opened before the Mic. @ibc
Note: It works well on Brave, Firefox and chrome on iOS.

node: v20.19.2
mediasoup@3.14.8
mediasoup-client@3.7.12

1 Like

Upgrade mediasoup-client to latest version, i faced same issue, recent browser updates triggered it

1 Like

Please avoid direct mentions to authors. We are not paid for giving free support.

BTW, it’s not authors’ fault if users are not aware of announced news:

one of my application is running on mediasoup-client@2.4.12
any suggestion for quick fix. Due to some reason this app can’t move to v3.

Thanks in advance. It is working well now.

The only version that works with Chrome >= 140 is mediasoup-client >= 3.15.0. Changes were huge to make it work with new Chrome. So no, there is no quick fix.

is there any min.js cdn for mediasoup-client@3.15.0 ?