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_PC_MEDIA_JNI_H_ | |
12 #define WEBRTC_SDK_ANDROID_SRC_JNI_PC_MEDIA_JNI_H_ | |
13 | |
14 #include "webrtc/rtc_base/scoped_ref_ptr.h" | |
15 | |
16 namespace webrtc { | |
17 class AudioDeviceModule; | |
18 class CallFactoryInterface; | |
19 class AudioEncoderFactory; | |
20 class AudioDecoderFactory; | |
21 class RtcEventLogFactoryInterface; | |
22 class AudioMixer; | |
23 } // namespace webrtc | |
24 | |
25 namespace cricket { | |
26 class MediaEngineInterface; | |
27 class WebRtcVideoEncoderFactory; | |
28 class WebRtcVideoDecoderFactory; | |
29 } // namespace cricket | |
30 | |
31 namespace webrtc_jni { | |
32 | |
33 webrtc::CallFactoryInterface* CreateCallFactory(); | |
34 webrtc::RtcEventLogFactoryInterface* CreateRtcEventLogFactory(); | |
35 | |
36 cricket::MediaEngineInterface* CreateMediaEngine( | |
37 webrtc::AudioDeviceModule* adm, | |
38 const rtc::scoped_refptr<webrtc::AudioEncoderFactory>& | |
39 audio_encoder_factory, | |
40 const rtc::scoped_refptr<webrtc::AudioDecoderFactory>& | |
41 audio_decoder_factory, | |
42 cricket::WebRtcVideoEncoderFactory* video_encoder_factory, | |
43 cricket::WebRtcVideoDecoderFactory* video_decoder_factory, | |
44 rtc::scoped_refptr<webrtc::AudioMixer> audio_mixer); | |
45 | |
46 } // namespace webrtc_jni | |
47 | |
48 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_PC_MEDIA_JNI_H_ | |
OLD | NEW |