OLD | NEW |
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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 class RtcpIntraFrameObserver { | 220 class RtcpIntraFrameObserver { |
221 public: | 221 public: |
222 virtual void OnReceivedIntraFrameRequest(uint32_t ssrc) = 0; | 222 virtual void OnReceivedIntraFrameRequest(uint32_t ssrc) = 0; |
223 | 223 |
224 virtual void OnReceivedSLI(uint32_t ssrc, | 224 virtual void OnReceivedSLI(uint32_t ssrc, |
225 uint8_t picture_id) = 0; | 225 uint8_t picture_id) = 0; |
226 | 226 |
227 virtual void OnReceivedRPSI(uint32_t ssrc, | 227 virtual void OnReceivedRPSI(uint32_t ssrc, |
228 uint64_t picture_id) = 0; | 228 uint64_t picture_id) = 0; |
229 | 229 |
230 // TODO(mflodman): Remove completely. | |
231 virtual void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) {} | |
232 | |
233 virtual ~RtcpIntraFrameObserver() {} | 230 virtual ~RtcpIntraFrameObserver() {} |
234 }; | 231 }; |
235 | 232 |
236 class RtcpBandwidthObserver { | 233 class RtcpBandwidthObserver { |
237 public: | 234 public: |
238 // REMB or TMMBR | 235 // REMB or TMMBR |
239 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; | 236 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; |
240 | 237 |
241 virtual void OnReceivedRtcpReceiverReport( | 238 virtual void OnReceivedRtcpReceiverReport( |
242 const ReportBlockList& report_blocks, | 239 const ReportBlockList& report_blocks, |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 class TransportSequenceNumberAllocator { | 393 class TransportSequenceNumberAllocator { |
397 public: | 394 public: |
398 TransportSequenceNumberAllocator() {} | 395 TransportSequenceNumberAllocator() {} |
399 virtual ~TransportSequenceNumberAllocator() {} | 396 virtual ~TransportSequenceNumberAllocator() {} |
400 | 397 |
401 virtual uint16_t AllocateSequenceNumber() = 0; | 398 virtual uint16_t AllocateSequenceNumber() = 0; |
402 }; | 399 }; |
403 | 400 |
404 } // namespace webrtc | 401 } // namespace webrtc |
405 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ | 402 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |