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

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

Issue 3009403002: Drop return value from RtpRtcp::IncomingRtcpPacket. (Closed)
Patch Set: Delete VoENetworkTest.ReceivedRTCPPacketWithJunkDataShouldFail. Created 3 years, 3 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 (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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 }; 100 };
101 101
102 // Create a RTP/RTCP module object using the system clock. 102 // Create a RTP/RTCP module object using the system clock.
103 // |configuration| - Configuration of the RTP/RTCP module. 103 // |configuration| - Configuration of the RTP/RTCP module.
104 static RtpRtcp* CreateRtpRtcp(const RtpRtcp::Configuration& configuration); 104 static RtpRtcp* CreateRtpRtcp(const RtpRtcp::Configuration& configuration);
105 105
106 // ************************************************************************** 106 // **************************************************************************
107 // Receiver functions 107 // Receiver functions
108 // ************************************************************************** 108 // **************************************************************************
109 109
110 virtual int32_t IncomingRtcpPacket(const uint8_t* incoming_packet, 110 virtual void IncomingRtcpPacket(const uint8_t* incoming_packet,
111 size_t incoming_packet_length) = 0; 111 size_t incoming_packet_length) = 0;
112 112
113 virtual void SetRemoteSSRC(uint32_t ssrc) = 0; 113 virtual void SetRemoteSSRC(uint32_t ssrc) = 0;
114 114
115 // ************************************************************************** 115 // **************************************************************************
116 // Sender 116 // Sender
117 // ************************************************************************** 117 // **************************************************************************
118 118
119 // TODO(nisse): Deprecated. Kept temporarily, as an alias for the 119 // TODO(nisse): Deprecated. Kept temporarily, as an alias for the
120 // new function which has slighly different semantics. Delete as 120 // new function which has slighly different semantics. Delete as
121 // soon as known applications are updated. 121 // soon as known applications are updated.
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; 453 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0;
454 454
455 // Sends a request for a keyframe. 455 // Sends a request for a keyframe.
456 // Returns -1 on failure else 0. 456 // Returns -1 on failure else 0.
457 virtual int32_t RequestKeyFrame() = 0; 457 virtual int32_t RequestKeyFrame() = 0;
458 }; 458 };
459 459
460 } // namespace webrtc 460 } // namespace webrtc
461 461
462 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 462 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h » ('j') | webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698