-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
on talky we were seeing very rare errors where setLocalDescription failed without any apparent effect. Here is what happened:
- remote sent session-initiate without any streams.
- setRemoteDescription is called. createAnswer (1) is called. Processing of remote actions resumes. PeerConnection is in have-remote-offer state.
- remote sent source-add. SRD is called. createAnswer (2) is called. PeerConnection is transitioning have-remote-offer -> have-remote-offer
- createAnswer (1) returns. setLocalDescription is called. PeerConnection goes into stable state. Things work.
- createAnswer (2) returns. setLocalDescription is called even though state is stable. Boom. But no bad things happened.
Proposed solution (other than continuing to work on the green spinning vortex of processing doom) is to ignore SLD when the state is stable.
Metadata
Metadata
Assignees
Labels
No labels