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

Side by Side Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h

Issue 2983363002: Remove NullObjectReceiveStatistics() in rtp_rtcp module (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | 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 (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 Configuration(); 48 Configuration();
49 49
50 // True for a audio version of the RTP/RTCP module object false will create 50 // True for a audio version of the RTP/RTCP module object false will create
51 // a video version. 51 // a video version.
52 bool audio = false; 52 bool audio = false;
53 bool receiver_only = false; 53 bool receiver_only = false;
54 54
55 // The clock to use to read time. If nullptr then system clock will be used. 55 // The clock to use to read time. If nullptr then system clock will be used.
56 Clock* clock = nullptr; 56 Clock* clock = nullptr;
57 57
58 ReceiveStatistics* receive_statistics; 58 ReceiveStatistics* receive_statistics = nullptr;
59 59
60 // Transport object that will be called when packets are ready to be sent 60 // Transport object that will be called when packets are ready to be sent
61 // out on the network. 61 // out on the network.
62 Transport* outgoing_transport = nullptr; 62 Transport* outgoing_transport = nullptr;
63 63
64 // Called when the receiver request a intra frame. 64 // Called when the receiver request a intra frame.
65 RtcpIntraFrameObserver* intra_frame_callback = nullptr; 65 RtcpIntraFrameObserver* intra_frame_callback = nullptr;
66 66
67 // Called when we receive a changed estimate from the receiver of out 67 // Called when we receive a changed estimate from the receiver of out
68 // stream. 68 // stream.
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; 463 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0;
464 464
465 // Sends a request for a keyframe. 465 // Sends a request for a keyframe.
466 // Returns -1 on failure else 0. 466 // Returns -1 on failure else 0.
467 virtual int32_t RequestKeyFrame() = 0; 467 virtual int32_t RequestKeyFrame() = 0;
468 }; 468 };
469 469
470 } // namespace webrtc 470 } // namespace webrtc
471 471
472 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 472 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698