DescriptionChange PeerConnectionFactory.setVideoHwAccelerationOptions to create shared Egl context for harware encoders and decoders.
Before this fix, it was required that the EGL context used as an argument was kept open until all PeerConnections using the context had been closed. With this fix, that is no longer required.
Also, if a released EGLContext (EGL_NO_CONTEXT) is used, harware codecs will fallback to use byte buffers for encoding and decoding.
BUG=b/26583522
R=glaznev@webrtc.org
Committed: https://crrev.com/ec2922f86437f88a4a72292696b8b1a3fa133d0d
Cr-Commit-Position: refs/heads/master@{#11398}
Patch Set 1 : EglBase10 #Patch Set 2 : ... #Patch Set 3 : Added eglbase_jni to avoid code duplication. #Messages
Total messages: 14 (6 generated)
|