| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 #include <jni.h> | 38 #include <jni.h> |
| 39 #undef JNIEXPORT | 39 #undef JNIEXPORT |
| 40 #define JNIEXPORT __attribute__((visibility("default"))) | 40 #define JNIEXPORT __attribute__((visibility("default"))) |
| 41 | 41 |
| 42 #include <limits> | 42 #include <limits> |
| 43 #include <memory> | 43 #include <memory> |
| 44 #include <utility> | 44 #include <utility> |
| 45 | 45 |
| 46 #include "webrtc/api/androidvideocapturer.h" | 46 #include "webrtc/api/androidvideocapturer.h" |
| 47 #include "webrtc/api/dtlsidentitystore.h" | |
| 48 #include "webrtc/api/android/jni/androidmediadecoder_jni.h" | 47 #include "webrtc/api/android/jni/androidmediadecoder_jni.h" |
| 49 #include "webrtc/api/android/jni/androidmediaencoder_jni.h" | 48 #include "webrtc/api/android/jni/androidmediaencoder_jni.h" |
| 50 #include "webrtc/api/android/jni/androidnetworkmonitor_jni.h" | 49 #include "webrtc/api/android/jni/androidnetworkmonitor_jni.h" |
| 51 #include "webrtc/api/android/jni/androidvideocapturer_jni.h" | 50 #include "webrtc/api/android/jni/androidvideocapturer_jni.h" |
| 52 #include "webrtc/api/android/jni/classreferenceholder.h" | 51 #include "webrtc/api/android/jni/classreferenceholder.h" |
| 53 #include "webrtc/api/android/jni/jni_helpers.h" | 52 #include "webrtc/api/android/jni/jni_helpers.h" |
| 54 #include "webrtc/api/android/jni/native_handle_impl.h" | 53 #include "webrtc/api/android/jni/native_handle_impl.h" |
| 55 #include "webrtc/api/mediaconstraintsinterface.h" | 54 #include "webrtc/api/mediaconstraintsinterface.h" |
| 56 #include "webrtc/api/peerconnectioninterface.h" | 55 #include "webrtc/api/peerconnectioninterface.h" |
| 57 #include "webrtc/api/rtpreceiverinterface.h" | 56 #include "webrtc/api/rtpreceiverinterface.h" |
| (...skipping 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2292 return JavaStringFromStdString( | 2291 return JavaStringFromStdString( |
| 2293 jni, | 2292 jni, |
| 2294 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id()); | 2293 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id()); |
| 2295 } | 2294 } |
| 2296 | 2295 |
| 2297 JOW(void, RtpReceiver_free)(JNIEnv* jni, jclass, jlong j_rtp_receiver_pointer) { | 2296 JOW(void, RtpReceiver_free)(JNIEnv* jni, jclass, jlong j_rtp_receiver_pointer) { |
| 2298 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release(); | 2297 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release(); |
| 2299 } | 2298 } |
| 2300 | 2299 |
| 2301 } // namespace webrtc_jni | 2300 } // namespace webrtc_jni |
| OLD | NEW |