| 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 27 matching lines...) Expand all Loading... |
| 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" | 47 #include "webrtc/api/dtlsidentitystore.h" |
| 48 #include "webrtc/api/android/jni/androidmediadecoder_jni.h" | 48 #include "webrtc/api/java/jni/androidmediadecoder_jni.h" |
| 49 #include "webrtc/api/android/jni/androidmediaencoder_jni.h" | 49 #include "webrtc/api/java/jni/androidmediaencoder_jni.h" |
| 50 #include "webrtc/api/android/jni/androidnetworkmonitor_jni.h" | 50 #include "webrtc/api/java/jni/androidnetworkmonitor_jni.h" |
| 51 #include "webrtc/api/android/jni/androidvideocapturer_jni.h" | 51 #include "webrtc/api/java/jni/androidvideocapturer_jni.h" |
| 52 #include "webrtc/api/android/jni/classreferenceholder.h" | 52 #include "webrtc/api/java/jni/classreferenceholder.h" |
| 53 #include "webrtc/api/android/jni/jni_helpers.h" | 53 #include "webrtc/api/java/jni/jni_helpers.h" |
| 54 #include "webrtc/api/android/jni/native_handle_impl.h" | 54 #include "webrtc/api/java/jni/native_handle_impl.h" |
| 55 #include "webrtc/api/mediaconstraintsinterface.h" | 55 #include "webrtc/api/mediaconstraintsinterface.h" |
| 56 #include "webrtc/api/peerconnectioninterface.h" | 56 #include "webrtc/api/peerconnectioninterface.h" |
| 57 #include "webrtc/api/rtpreceiverinterface.h" | 57 #include "webrtc/api/rtpreceiverinterface.h" |
| 58 #include "webrtc/api/rtpsenderinterface.h" | 58 #include "webrtc/api/rtpsenderinterface.h" |
| 59 #include "webrtc/api/webrtcsdp.h" | 59 #include "webrtc/api/webrtcsdp.h" |
| 60 #include "webrtc/base/bind.h" | 60 #include "webrtc/base/bind.h" |
| 61 #include "webrtc/base/checks.h" | 61 #include "webrtc/base/checks.h" |
| 62 #include "webrtc/base/event_tracer.h" | 62 #include "webrtc/base/event_tracer.h" |
| 63 #include "webrtc/base/logging.h" | 63 #include "webrtc/base/logging.h" |
| 64 #include "webrtc/base/logsinks.h" | 64 #include "webrtc/base/logsinks.h" |
| (...skipping 2226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2291 return JavaStringFromStdString( | 2291 return JavaStringFromStdString( |
| 2292 jni, | 2292 jni, |
| 2293 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id()); | 2293 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id()); |
| 2294 } | 2294 } |
| 2295 | 2295 |
| 2296 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) { |
| 2297 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release(); | 2297 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release(); |
| 2298 } | 2298 } |
| 2299 | 2299 |
| 2300 } // namespace webrtc_jni | 2300 } // namespace webrtc_jni |
| OLD | NEW |