Chromium Code Reviews
DescriptionVideoCapturer: Update interface
This CL changes the interface by adding a SurfaceTextureHelper argument
to VideoCapturer.startCapture(). This removes the need for the
VideoCapturer to create the SurfaceTextureHelper itself. This also means
that it is no longer necessary to send an EGLContext to the
VideoCapturerAndroid.create() function.
The SurfaceTextureHelper is now created in AndroidVideoCapturerJni, and
the EGLContext is passed from PeerConnectionFactory in
nativeCreateVideoSource().
Another change in this CL is that the C++ SurfaceTextureHelper creates
the Java SurfaceTextureHelper instead of getting it passed as an
argument in the ctor.
BUG=webrtc:5519
Committed: https://crrev.com/0dc2316e8b46de179bf766d44afcb3a169430132
Cr-Commit-Position: refs/heads/master@{#11977}
Patch Set 1 : #
Total comments: 9
Patch Set 2 : Addressing perkj@s comments #Messages
Total messages: 16 (10 generated)
|