| Index: talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
|
| diff --git a/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java b/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
|
| index 9c32f37b76e056fa9286caba8f3d9fe2c1746546..7d954852cd9d10d72dea9790b9de97484a6ae126 100644
|
| --- a/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
|
| +++ b/talk/app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java
|
| @@ -64,7 +64,7 @@ public class PeerConnectionFactory {
|
| // decoding thread.
|
| public static native boolean initializeAndroidGlobals(
|
| Object context, boolean initializeAudio, boolean initializeVideo,
|
| - boolean vp8HwAcceleration, Object renderEGLContext);
|
| + boolean videoHwAcceleration);
|
|
|
| // Field trial initialization. Must be called before PeerConnectionFactory
|
| // is created.
|
| @@ -131,12 +131,14 @@ public class PeerConnectionFactory {
|
| nativeSetOptions(nativeFactory, options);
|
| }
|
|
|
| + public void setVideoHwAccelerationOptions(Object renderEGLContext) {
|
| + nativeSetVideoHwAccelerationOptions(nativeFactory, renderEGLContext);
|
| + }
|
| +
|
| public void dispose() {
|
| freeFactory(nativeFactory);
|
| }
|
|
|
| - public native void nativeSetOptions(long nativeFactory, Options options);
|
| -
|
| private static native long nativeCreatePeerConnectionFactory();
|
|
|
| private static native long nativeCreateObserver(
|
| @@ -162,5 +164,10 @@ public class PeerConnectionFactory {
|
| private static native long nativeCreateAudioTrack(
|
| long nativeFactory, String id, long nativeSource);
|
|
|
| + public native void nativeSetOptions(long nativeFactory, Options options);
|
| +
|
| + private static native void nativeSetVideoHwAccelerationOptions(
|
| + long nativeFactory, Object renderEGLContext);
|
| +
|
| private static native void freeFactory(long nativeFactory);
|
| }
|
|
|