Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license | |
| 5 * that can be found in the LICENSE file in the root of the source | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #include <jni.h> | |
| 12 | |
| 13 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" | |
| 14 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" | |
| 15 #include "webrtc/sdk/android/src/jni/androidvideotracksource.h" | |
| 16 #include "webrtc/sdk/android/src/jni/classreferenceholder.h" | |
| 17 | |
| 18 namespace webrtc_jni { | |
| 19 | |
| 20 class SurfaceTextureHelper; | |
| 21 class MediaCodecVideoEncoderFactory; | |
| 22 class MediaCodecVideoDecoderFactory; | |
| 23 | |
| 24 cricket::WebRtcVideoEncoderFactory* CreateVideoEncoderFactory() { | |
| 25 return nullptr; | |
| 26 } | |
| 27 | |
| 28 cricket::WebRtcVideoDecoderFactory* CreateVideoDecoderFactory() { | |
| 29 return nullptr; | |
| 30 } | |
| 31 | |
| 32 rtc::scoped_refptr<webrtc::AndroidVideoTrackSource> | |
| 33 CreateAndroidVideoTrackSource(rtc::Thread* signaling_thread, | |
| 34 JNIEnv* jni, | |
| 35 jobject j_egl_context, | |
| 36 bool is_screencast = false) { | |
| 37 return rtc::scoped_refptr<webrtc::AndroidVideoTrackSource>(); | |
| 38 } | |
| 39 | |
| 40 jobject GetSurfaceTextureHelper( | |
| 41 rtc::scoped_refptr<SurfaceTextureHelper> surface_texture_helper) { | |
| 42 return nullptr; | |
| 43 } | |
| 44 | |
| 45 void EncoderFactorySetEGLContext(MediaCodecVideoEncoderFactory* encoder_factory, | |
| 46 JNIEnv* jni, | |
| 47 jobject local_egl_context) {} | |
| 48 | |
| 49 void DecoderFactorySetEGLContext(MediaCodecVideoDecoderFactory* decoder_factory, | |
| 50 JNIEnv* jni, | |
| 51 jobject remote_egl_context) {} | |
| 52 | |
|
pthatcher
2017/05/18 17:50:27
I think a good name for this file may be nullvideo
| |
| 53 } // namespace webrtc_jni | |
| OLD | NEW |