OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 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 #ifndef WEBRTC_SDK_ANDROID_SRC_JNI_MEDIA_JNI_H_ |
| 12 #define WEBRTC_SDK_ANDROID_SRC_JNI_MEDIA_JNI_H_ |
| 13 |
| 14 #include "webrtc/api/peerconnectioninterface.h" |
| 15 #include "webrtc/base/scoped_ref_ptr.h" |
| 16 #include "webrtc/base/thread.h" |
| 17 |
| 18 namespace webrtc_jni { |
| 19 |
| 20 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> |
| 21 CreateNativePeerConnectionFactory( |
| 22 rtc::Thread* network_thread, |
| 23 rtc::Thread* worker_thread, |
| 24 rtc::Thread* signaling_thread, |
| 25 webrtc::AudioDeviceModule* default_adm, |
| 26 rtc::scoped_refptr<webrtc::AudioEncoderFactory> audio_encoder_factory, |
| 27 rtc::scoped_refptr<webrtc::AudioDecoderFactory> audio_decoder_factory, |
| 28 cricket::WebRtcVideoEncoderFactory* video_encoder_factory, |
| 29 cricket::WebRtcVideoDecoderFactory* video_decoder_factory); |
| 30 |
| 31 } // namespace webrtc_jni |
| 32 |
| 33 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_MEDIA_JNI_H_ |
OLD | NEW |