DescriptionAndroid: Make VideoCapturer an interface for all VideoCapturers to implement
This CL factors out the interface that AndroidVideoCapturerJni is using to communicate with the Java counterpart. This interface is moved into VideoCapturer. The interface is not touched in this CL, and a follow-up CL is planned to simplify and improve it.
Another change is that the native part of VideoCapturer is created in PeerConnectionFactory.createVideoSource() instead of doing it immediately in the ctor.
BUG=webrtc:5519
R=perkj@webrtc.org
Committed: https://crrev.com/5e7834e151c15d9f28a5faa9683a1b5c26bacaef
Cr-Commit-Position: refs/heads/master@{#11606}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rename release()/isReleased() to dispose()/isDisposed() #Patch Set 3 : Replace 'replace' with 'dispose' in jni as well #Messages
Total messages: 18 (10 generated)
|