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

Side by Side Diff: webrtc/api/android/jni/peerconnection_jni.cc

Issue 2361803003: Add logging statements to places where the frame might be dropped in WebRTC pipeline. (Closed)
Patch Set: Remove the DCHECK since it will crash anyway. Created 4 years, 2 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
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 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after
2026 2026
2027 JOW(jboolean, MediaStreamTrack_nativeSetEnabled)( 2027 JOW(jboolean, MediaStreamTrack_nativeSetEnabled)(
2028 JNIEnv* jni, jclass, jlong j_p, jboolean enabled) { 2028 JNIEnv* jni, jclass, jlong j_p, jboolean enabled) {
2029 return reinterpret_cast<MediaStreamTrackInterface*>(j_p) 2029 return reinterpret_cast<MediaStreamTrackInterface*>(j_p)
2030 ->set_enabled(enabled); 2030 ->set_enabled(enabled);
2031 } 2031 }
2032 2032
2033 JOW(void, VideoTrack_nativeAddRenderer)( 2033 JOW(void, VideoTrack_nativeAddRenderer)(
2034 JNIEnv* jni, jclass, 2034 JNIEnv* jni, jclass,
2035 jlong j_video_track_pointer, jlong j_renderer_pointer) { 2035 jlong j_video_track_pointer, jlong j_renderer_pointer) {
2036 LOG(LS_INFO) << "VideoTrack::nativeAddRenderer";
2036 reinterpret_cast<VideoTrackInterface*>(j_video_track_pointer) 2037 reinterpret_cast<VideoTrackInterface*>(j_video_track_pointer)
2037 ->AddOrUpdateSink( 2038 ->AddOrUpdateSink(
2038 reinterpret_cast<rtc::VideoSinkInterface<cricket::VideoFrame>*>( 2039 reinterpret_cast<rtc::VideoSinkInterface<cricket::VideoFrame>*>(
2039 j_renderer_pointer), 2040 j_renderer_pointer),
2040 rtc::VideoSinkWants()); 2041 rtc::VideoSinkWants());
2041 } 2042 }
2042 2043
2043 JOW(void, VideoTrack_nativeRemoveRenderer)( 2044 JOW(void, VideoTrack_nativeRemoveRenderer)(
2044 JNIEnv* jni, jclass, 2045 JNIEnv* jni, jclass,
2045 jlong j_video_track_pointer, jlong j_renderer_pointer) { 2046 jlong j_video_track_pointer, jlong j_renderer_pointer) {
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 return JavaStringFromStdString( 2319 return JavaStringFromStdString(
2319 jni, 2320 jni,
2320 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id()); 2321 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->id());
2321 } 2322 }
2322 2323
2323 JOW(void, RtpReceiver_free)(JNIEnv* jni, jclass, jlong j_rtp_receiver_pointer) { 2324 JOW(void, RtpReceiver_free)(JNIEnv* jni, jclass, jlong j_rtp_receiver_pointer) {
2324 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release(); 2325 reinterpret_cast<RtpReceiverInterface*>(j_rtp_receiver_pointer)->Release();
2325 } 2326 }
2326 2327
2327 } // namespace webrtc_jni 2328 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/bitrate_estimator_tests.cc » ('j') | webrtc/modules/video_coding/generic_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698