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
TypeError: Cannot set properties of undefined (setting '5000')
at /Users/me/Source/webrtctest/node_modules/werift/lib/webrtc/src/sdp.js:190:68
at Array.forEach (<anonymous>)
at /Users/me/Source/webrtctest/node_modules/werift/lib/webrtc/src/sdp.js:99:33
at Array.forEach (<anonymous>)
at Function.parse (/Users/me/Source/webrtctest/node_modules/werift/lib/webrtc/src/sdp.js:78:21)
at RTCPeerConnection.setRemoteDescription (/Users/me/Source/webrtctest/node_modules/werift/lib/webrtc/src/peerConnection.js:474:52)
at doIt (/Users/me/Source/webrtctest/dist/rtc.js:112:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered:
When setting a remote description, we look for the "sctpmap" property:
https://github.com/shinyoshiaki/werift-webrtc/blob/develop/packages/webrtc/src/sdp.ts#L223
But the property on the MediaDescription type is named "sctpMap":
https://github.com/shinyoshiaki/werift-webrtc/blob/develop/packages/webrtc/src/sdp.ts#L356
So if you try to set a remote SDP like so:
You will get:
The text was updated successfully, but these errors were encountered: