зеркало из https://github.com/nextcloud/talk-ios.git
Use cleanCurrentPeerConnections in leaveCall.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
30a23c625c
Коммит
e50be8db0f
|
@ -200,9 +200,7 @@ static NSString * const kNCVideoTrackKind = @"video";
|
|||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
_externalSignalingController.delegate = nil;
|
||||
|
||||
for (NCPeerConnection *peerConnectionWrapper in [_connectionsDict allValues]) {
|
||||
[peerConnectionWrapper close];
|
||||
}
|
||||
[self cleanCurrentPeerConnections];
|
||||
|
||||
[_localStream removeAudioTrack:_localAudioTrack];
|
||||
[_localStream removeVideoTrack:_localVideoTrack];
|
||||
|
|
Загрузка…
Ссылка в новой задаче