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
{{ message }}
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.
When an audience member connects to a channel the error is thrown.
AgoraRTC_N-production.js?e671:934 Uncaught TypeError: Cannot assign to read only property 'trust_stream_added_state' of object '#'
at ag._handleAddAudioOrVideoStream (AgoraRTC_N-production.js?e671:934)
at fo.eval (AgoraRTC_N-production.js?e671:1023)
at fo.emit (AgoraRTC_N-production.js?e671:456)
at Vf.onWebsocketMessage (AgoraRTC_N-production.js?e671:534)
at Vf.emit (AgoraRTC_N-production.js?e671:456)
at WebSocket.websocket.onmessage (AgoraRTC_N-production.js?e671:530)
Also
Uncaught TypeError: Cannot assign to read only property 'trust_stream_added_state' of object '#'
at ag._handleAddAudioOrVideoStream (AgoraRTC_N-production.js:935)
at fo.eval (AgoraRTC_N-production.js:1024)
at fo.emit (AgoraRTC_N-production.js:457)
at Vf.onWebsocketMessage (AgoraRTC_N-production.js:535)
at Vf.emit (AgoraRTC_N-production.js:457)
at WebSocket.websocket.onmessage (AgoraRTC_N-production.js:531)
SDK Logs
I called enableLogUpload but i don't know where to then find the logs
So after doing some more research, it seems like the state management library we are using was freezing the Remote User objects from Agora. https://github.com/facebookexperimental/Recoil
I just needed to add the dangerouslyAllowMutability: true option to the atom containing the Remote Users
Describe the bug
When an audience member connects to a channel the error is thrown.
AgoraRTC_N-production.js?e671:934 Uncaught TypeError: Cannot assign to read only property 'trust_stream_added_state' of object '#'
at ag._handleAddAudioOrVideoStream (AgoraRTC_N-production.js?e671:934)
at fo.eval (AgoraRTC_N-production.js?e671:1023)
at fo.emit (AgoraRTC_N-production.js?e671:456)
at Vf.onWebsocketMessage (AgoraRTC_N-production.js?e671:534)
at Vf.emit (AgoraRTC_N-production.js?e671:456)
at WebSocket.websocket.onmessage (AgoraRTC_N-production.js?e671:530)
Also
Uncaught TypeError: Cannot assign to read only property 'trust_stream_added_state' of object '#'
at ag._handleAddAudioOrVideoStream (AgoraRTC_N-production.js:935)
at fo.eval (AgoraRTC_N-production.js:1024)
at fo.emit (AgoraRTC_N-production.js:457)
at Vf.onWebsocketMessage (AgoraRTC_N-production.js:535)
at Vf.emit (AgoraRTC_N-production.js:457)
at WebSocket.websocket.onmessage (AgoraRTC_N-production.js:531)
SDK Logs
I called enableLogUpload but i don't know where to then find the logs
Channel:
fj5vZ99QEaYUX0E6i6MH
UID:
2046
Platform and Browser:
Web/Chrome 89.0.4389.114
SDK Version:
4.4.0
To Reproduce
Join a live channel in progress
The text was updated successfully, but these errors were encountered: