Merge pull request #6468 from prlanzarin/fix-safari-rtc-error
Fix Safari issue with processing ICE candidates for video
This commit is contained in:
commit
6d08b74f55
@ -353,6 +353,9 @@ class VideoProvider extends Component {
|
||||
if (error) {
|
||||
return this.logger('debug', JSON.stringify(error), { cameraId: id });
|
||||
}
|
||||
|
||||
peer.didSDPAnswered = true;
|
||||
this._processIceQueue(peer, id);
|
||||
});
|
||||
} else {
|
||||
this.logger('warn', '[startResponse] Message arrived after the peer was already thrown out, discarding it...');
|
||||
@ -508,9 +511,7 @@ class VideoProvider extends Component {
|
||||
};
|
||||
this.sendMessage(message);
|
||||
|
||||
this._processIceQueue(peer, id);
|
||||
|
||||
peer.didSDPAnswered = true;
|
||||
});
|
||||
});
|
||||
if (this.webRtcPeers[id].peerConnection) {
|
||||
|
Loading…
Reference in New Issue
Block a user