Set videoCapturerStopped when PeerConnectionClient stopped

BUG=webrtc:6682

Review-Url: https://codereview.webrtc.org/2489213002
Cr-Commit-Position: refs/heads/master@{#15020}
This commit is contained in:
hekra01
2016-11-10 06:23:27 -08:00
committed by Commit bot
parent 917a4eeb60
commit aae4fa86d0

View File

@ -540,6 +540,7 @@ public class PeerConnectionClient {
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
videoCapturerStopped = true;
videoCapturer.dispose();
videoCapturer = null;
}