Hello,
I’m encountering a weird error when I attempt to set my peer’s remote description from another peer’s offer. I’m using the command:
peerConn.setRemoteDescription(new RTCSessionDescription(offer))
however, it returns a TypeError: Attempted to assign to readonly property.
From research, I found the RTCSessionDescription
is read-only, but then how would it be set…?
Thanks!