Skip to content

Interface: NegotiationState ​

One peer connection's side of perfect negotiation: whether it yields on a collision, and where its own offer stands. The server says which side of a p2p pair is polite; the SDK never decides it.

Properties ​

PropertyTypeDescription
makingOfferbooleanTrue between setLocalDescription() and the offer reaching the wire.
politebooleanFrom RoomStateEvent.polite. Exactly one side of a p2p pair has it.
signalingState| "closed" | "stable" | "have-local-offer" | "have-remote-offer" | "have-local-pranswer" | "have-remote-pranswer"-

Talkline documentation