Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: webrtc/sdk/android/src/jni/peerconnection_jni.cc

Issue 2625903005: Reland of Android: Add field trial for Intel HW Vp8 encoder (Closed)
Patch Set: Ignore field trials when jingle_peerconnection_so is not available Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698