mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Clean up further
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
a812058dad
commit
d8c4708654
@ -981,10 +981,6 @@ public class CallActivity extends AppCompatActivity {
|
|||||||
if (!dueToNetworkChange) {
|
if (!dueToNetworkChange) {
|
||||||
pipVideoView.release();
|
pipVideoView.release();
|
||||||
|
|
||||||
if (videoCapturer != null) {
|
|
||||||
videoCapturer.dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (localMediaStream != null) {
|
if (localMediaStream != null) {
|
||||||
if (localMediaStream.videoTracks != null && localMediaStream.videoTracks.size() > 0) {
|
if (localMediaStream.videoTracks != null && localMediaStream.videoTracks.size() > 0) {
|
||||||
localMediaStream.removeTrack(localMediaStream.videoTracks.get(0));
|
localMediaStream.removeTrack(localMediaStream.videoTracks.get(0));
|
||||||
|
Loading…
Reference in New Issue
Block a user