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

Side by Side Diff: webrtc/modules/rtp_rtcp/interface/rtp_receiver.h

Issue 1335353005: Remove channel ids from various interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h » ('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 19 matching lines...) Expand all
30 virtual bool TelephoneEventForwardToDecoder() const = 0; 30 virtual bool TelephoneEventForwardToDecoder() const = 0;
31 31
32 // Is TelephoneEvent configured with payload type payload_type 32 // Is TelephoneEvent configured with payload type payload_type
33 virtual bool TelephoneEventPayloadType(const int8_t payload_type) const = 0; 33 virtual bool TelephoneEventPayloadType(const int8_t payload_type) const = 0;
34 }; 34 };
35 35
36 class RtpReceiver { 36 class RtpReceiver {
37 public: 37 public:
38 // Creates a video-enabled RTP receiver. 38 // Creates a video-enabled RTP receiver.
39 static RtpReceiver* CreateVideoReceiver( 39 static RtpReceiver* CreateVideoReceiver(
40 int id, Clock* clock, 40 Clock* clock,
41 RtpData* incoming_payload_callback, 41 RtpData* incoming_payload_callback,
42 RtpFeedback* incoming_messages_callback, 42 RtpFeedback* incoming_messages_callback,
43 RTPPayloadRegistry* rtp_payload_registry); 43 RTPPayloadRegistry* rtp_payload_registry);
44 44
45 // Creates an audio-enabled RTP receiver. 45 // Creates an audio-enabled RTP receiver.
46 static RtpReceiver* CreateAudioReceiver( 46 static RtpReceiver* CreateAudioReceiver(
47 int id, Clock* clock, 47 Clock* clock,
48 RtpAudioFeedback* incoming_audio_feedback, 48 RtpAudioFeedback* incoming_audio_feedback,
49 RtpData* incoming_payload_callback, 49 RtpData* incoming_payload_callback,
50 RtpFeedback* incoming_messages_callback, 50 RtpFeedback* incoming_messages_callback,
51 RTPPayloadRegistry* rtp_payload_registry); 51 RTPPayloadRegistry* rtp_payload_registry);
52 52
53 virtual ~RtpReceiver() {} 53 virtual ~RtpReceiver() {}
54 54
55 // Returns a TelephoneEventHandler if available. 55 // Returns a TelephoneEventHandler if available.
56 virtual TelephoneEventHandler* GetTelephoneEventHandler() = 0; 56 virtual TelephoneEventHandler* GetTelephoneEventHandler() = 0;
57 57
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // Returns the current remote CSRCs. 95 // Returns the current remote CSRCs.
96 virtual int32_t CSRCs(uint32_t array_of_csrc[kRtpCsrcSize]) const = 0; 96 virtual int32_t CSRCs(uint32_t array_of_csrc[kRtpCsrcSize]) const = 0;
97 97
98 // Returns the current energy of the RTP stream received. 98 // Returns the current energy of the RTP stream received.
99 virtual int32_t Energy(uint8_t array_of_energy[kRtpCsrcSize]) const = 0; 99 virtual int32_t Energy(uint8_t array_of_energy[kRtpCsrcSize]) const = 0;
100 }; 100 };
101 } // namespace webrtc 101 } // namespace webrtc
102 102
103 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RECEIVER_H_ 103 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RECEIVER_H_
OLDNEW
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698