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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 jni->ReleaseStringUTFChars(j_trials_init_string, init_string); | 1138 jni->ReleaseStringUTFChars(j_trials_init_string, init_string); |
1139 LOG(LS_INFO) << "initializeFieldTrials: " << field_trials_init_string; | 1139 LOG(LS_INFO) << "initializeFieldTrials: " << field_trials_init_string; |
1140 } | 1140 } |
1141 webrtc::field_trial::InitFieldTrialsFromString(field_trials_init_string); | 1141 webrtc::field_trial::InitFieldTrialsFromString(field_trials_init_string); |
1142 } | 1142 } |
1143 | 1143 |
1144 JOW(void, PeerConnectionFactory_initializeInternalTracer)(JNIEnv* jni, jclass) { | 1144 JOW(void, PeerConnectionFactory_initializeInternalTracer)(JNIEnv* jni, jclass) { |
1145 rtc::tracing::SetupInternalTracer(); | 1145 rtc::tracing::SetupInternalTracer(); |
1146 } | 1146 } |
1147 | 1147 |
1148 JOW(jstring, PeerConnectionFactory_fieldTrialsFindFullName) | 1148 JOW(jstring, PeerConnectionFactory_nativeFieldTrialsFindFullName) |
1149 (JNIEnv* jni, jclass, jstring j_name) { | 1149 (JNIEnv* jni, jclass, jstring j_name) { |
1150 return JavaStringFromStdString( | 1150 return JavaStringFromStdString( |
1151 jni, webrtc::field_trial::FindFullName(JavaToStdString(jni, j_name))); | 1151 jni, webrtc::field_trial::FindFullName(JavaToStdString(jni, j_name))); |
1152 } | 1152 } |
1153 | 1153 |
1154 JOW(jboolean, PeerConnectionFactory_startInternalTracingCapture)( | 1154 JOW(jboolean, PeerConnectionFactory_startInternalTracingCapture)( |
1155 JNIEnv* jni, jclass, jstring j_event_tracing_filename) { | 1155 JNIEnv* jni, jclass, jstring j_event_tracing_filename) { |
1156 if (!j_event_tracing_filename) | 1156 if (!j_event_tracing_filename) |
1157 return false; | 1157 return false; |
1158 | 1158 |
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2594 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer) | 2594 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer) |
2595 ->SetObserver(nullptr); | 2595 ->SetObserver(nullptr); |
2596 RtpReceiverObserver* observer = | 2596 RtpReceiverObserver* observer = |
2597 reinterpret_cast<RtpReceiverObserver*>(j_observer_pointer); | 2597 reinterpret_cast<RtpReceiverObserver*>(j_observer_pointer); |
2598 if (observer) { | 2598 if (observer) { |
2599 delete observer; | 2599 delete observer; |
2600 } | 2600 } |
2601 } | 2601 } |
2602 | 2602 |
2603 } // namespace webrtc_jni | 2603 } // namespace webrtc_jni |
OLD | NEW |