Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Don't set remote description when a setLocalDescription is not resolved. #486

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

jianjunz
Copy link
Collaborator

When the impolite side receives offer after setLocalDescription, before it's
resolved, it sets both local description and remote description. Its
signaling state changes from stable to have-local-offer, to stable, to
have-remote-offer. It doesn't comply with the behavior of impolite side
described in perfect negotiation, which is ignoring the remote
description.

Test: P2P case WebRTC collision should be resolved.

Fix #484.

@taste1981
Copy link
Collaborator

Please resolve conflicts before we can review this.

@jianjunz
Copy link
Collaborator Author

Please resolve conflicts before we can review this.

Rebased.

When the impolite side receives offer after `setLocalDescription`, before it's
resolved, it sets both local description and remote description. Its
signaling state changes from stable to have-local-offer, to stable, to
have-remote-offer. It doesn't comply with the behavior of impolite side
described in perfect negotiation, which is ignoring the remote
description.

Test: P2P case WebRTC collision should be resolved.
@jianjunz jianjunz merged commit d7ab0bd into open-webrtc-toolkit:master Apr 23, 2021
@jianjunz jianjunz deleted the set-sdp branch April 23, 2021 01:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky case: WebRTC collision should be resolved.
2 participants