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
On network reconnection, we are trying to create an offer with a parameter : iceRestart : true. But, at the receiver user its throwing an error -> InvalidStateError: Failed to set remote offer sdp: Called in wrong state: kHaveLocalOffer. Basically, its trying to create a new offer instead of restarting the existing connection. What is the correct way to implement iceRestart in createOffer method?
On network reconnection, we are trying to create an offer with a parameter : iceRestart : true. But, at the receiver user its throwing an error -> InvalidStateError: Failed to set remote offer sdp: Called in wrong state: kHaveLocalOffer. Basically, its trying to create a new offer instead of restarting the existing connection. What is the correct way to implement iceRestart in createOffer method?
usage :
self.constraints = [[RTCMediaConstraints alloc] initWithMandatoryConstraints:
@[
[[RTCPair alloc] initWithKey:@"OfferToReceiveAudio" value:@"true"],
[[RTCPair alloc] initWithKey:@"OfferToReceiveVideo" value:@"true"],
[[RTCPair alloc] initWithKey:@"iceRestart" value:@"true"]
] optionalConstraints:nil];
The text was updated successfully, but these errors were encountered: