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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 class RtcpIntraFrameObserver { | 214 class RtcpIntraFrameObserver { |
215 public: | 215 public: |
216 virtual void OnReceivedIntraFrameRequest(uint32_t ssrc) = 0; | 216 virtual void OnReceivedIntraFrameRequest(uint32_t ssrc) = 0; |
217 | 217 |
218 virtual void OnReceivedSLI(uint32_t ssrc, | 218 virtual void OnReceivedSLI(uint32_t ssrc, |
219 uint8_t picture_id) = 0; | 219 uint8_t picture_id) = 0; |
220 | 220 |
221 virtual void OnReceivedRPSI(uint32_t ssrc, | 221 virtual void OnReceivedRPSI(uint32_t ssrc, |
222 uint64_t picture_id) = 0; | 222 uint64_t picture_id) = 0; |
223 | 223 |
224 virtual void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) = 0; | 224 // TODO(mflodman): Remove completely. |
| 225 virtual void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) {} |
225 | 226 |
226 virtual ~RtcpIntraFrameObserver() {} | 227 virtual ~RtcpIntraFrameObserver() {} |
227 }; | 228 }; |
228 | 229 |
229 class RtcpBandwidthObserver { | 230 class RtcpBandwidthObserver { |
230 public: | 231 public: |
231 // REMB or TMMBR | 232 // REMB or TMMBR |
232 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; | 233 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; |
233 | 234 |
234 virtual void OnReceivedRtcpReceiverReport( | 235 virtual void OnReceivedRtcpReceiverReport( |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 class TransportSequenceNumberAllocator { | 390 class TransportSequenceNumberAllocator { |
390 public: | 391 public: |
391 TransportSequenceNumberAllocator() {} | 392 TransportSequenceNumberAllocator() {} |
392 virtual ~TransportSequenceNumberAllocator() {} | 393 virtual ~TransportSequenceNumberAllocator() {} |
393 | 394 |
394 virtual uint16_t AllocateSequenceNumber() = 0; | 395 virtual uint16_t AllocateSequenceNumber() = 0; |
395 }; | 396 }; |
396 | 397 |
397 } // namespace webrtc | 398 } // namespace webrtc |
398 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ | 399 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |