DescriptionSwitch event type when a capture device has been stopped from the render process. This make sure that RtcVideoCapturer is notified when the screen share Stop button has been called or a LocalMediaStream has been stopped.
https://code.google.com/p/webrtc/issues/detail?id=960
BUG=226400
TEST= Enable logging on rtc_video_capture. Navigate to http://src.chromium.org/chrome/trunk/src/chrome/test/data/webrtc/manual/peerconnection.html. Press the Request GetUserMedia button. Open up a JS console and type gLocalStream.stop() and verify that RtcVideoCapturer::OnStateChange 0 is triggered.
On Linux, Repeat starting the video camera. Unplug the USB device and verify that RtcVideoCapturer::OnStateChange 2 is triggered.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193911
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Fix review comments. #
Total comments: 2
Patch Set 3 : Addressed code review comments. #Messages
Total messages: 10 (0 generated)
|