mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 22:15:41 +03:00
Cleanup
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
00eac7549e
commit
5ef965909a
1 changed files with 7 additions and 0 deletions
|
@ -566,6 +566,7 @@ public class CallActivity extends AppCompatActivity {
|
|||
videoCapturer.dispose();
|
||||
}
|
||||
|
||||
|
||||
if (localMediaStream.videoTracks.size() > 0) {
|
||||
localMediaStream.removeTrack(localMediaStream.videoTracks.get(0));
|
||||
}
|
||||
|
@ -573,8 +574,14 @@ public class CallActivity extends AppCompatActivity {
|
|||
if (localMediaStream.audioTracks.size() > 0) {
|
||||
localMediaStream.removeTrack(localMediaStream.audioTracks.get(0));
|
||||
}
|
||||
localVideoTrack = null;
|
||||
localAudioTrack = null;
|
||||
localRenderer = null;
|
||||
localMediaStream = null;
|
||||
|
||||
videoCapturer.dispose();
|
||||
videoCapturer = null;
|
||||
|
||||
pipVideoView.release();
|
||||
|
||||
String credentials = ApiHelper.getCredentials(userEntity.getUsername(), userEntity.getToken());
|
||||
|
|
Loading…
Reference in a new issue