DescriptionJava SurfaceTextureHelper: Remove support for external thread
Currently, VideoCapturerAndroid owns a dedicated tread, and
SurfaceTextureHelper get this thread passed in the ctor. In
VideoCapturerAndroid.dispose(), ownership of the thread is passed to
SurfaceTextureHelper so that we can return directly instead of waiting
for the last frame to return.
This CL makes the SurfaceTextureHelper own the thread the whole time
instead, and VideoCapturerAndroid calls getHandler() to get it instead.
BUG=webrtc:5519
Committed: https://crrev.com/9e69dfdfd5f38cdbd335280fb158a6e2a11a65d6
Cr-Commit-Position: refs/heads/master@{#11790}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|