mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
More cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
8dbd381adb
commit
42b71b9710
@ -1009,6 +1009,12 @@ public class CallActivity extends AppCompatActivity {
|
||||
peerConnectionFactory = null;
|
||||
}
|
||||
|
||||
localMediaStream.removeTrack(localAudioTrack);
|
||||
localMediaStream.removeTrack(localVideoTrack);
|
||||
localMediaStream = null;
|
||||
localAudioTrack = null;
|
||||
localVideoTrack = null;
|
||||
|
||||
hangupNetworkCalls();
|
||||
}
|
||||
}
|
||||
|
@ -99,6 +99,7 @@ public class MagicPeerConnectionWrapper {
|
||||
}
|
||||
|
||||
if (peerConnection != null) {
|
||||
peerConnection.removeStream(localMediaStream);
|
||||
peerConnection.close();
|
||||
peerConnection = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user