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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 kRtcpSdes = 0x0008, | 88 kRtcpSdes = 0x0008, |
89 kRtcpBye = 0x0010, | 89 kRtcpBye = 0x0010, |
90 kRtcpPli = 0x0020, | 90 kRtcpPli = 0x0020, |
91 kRtcpNack = 0x0040, | 91 kRtcpNack = 0x0040, |
92 kRtcpFir = 0x0080, | 92 kRtcpFir = 0x0080, |
93 kRtcpTmmbr = 0x0100, | 93 kRtcpTmmbr = 0x0100, |
94 kRtcpTmmbn = 0x0200, | 94 kRtcpTmmbn = 0x0200, |
95 kRtcpSrReq = 0x0400, | 95 kRtcpSrReq = 0x0400, |
96 kRtcpXrVoipMetric = 0x0800, | 96 kRtcpXrVoipMetric = 0x0800, |
97 kRtcpApp = 0x1000, | 97 kRtcpApp = 0x1000, |
98 kRtcpSli = 0x4000, | 98 // TODO(nisse): 0x4000 used to be kRtcpSli, and 0x8000 used to be |
99 kRtcpRpsi = 0x8000, | 99 // kRtcpRpsi, but is no longer used. Renumber? |
danilchap
2017/03/21 14:53:24
do not renumber, there is enough bits to leave the
nisse-webrtc
2017/03/21 15:12:55
Ok, I deleted this comment (there was already an u
| |
100 kRtcpRemb = 0x10000, | 100 kRtcpRemb = 0x10000, |
101 kRtcpTransmissionTimeOffset = 0x20000, | 101 kRtcpTransmissionTimeOffset = 0x20000, |
102 kRtcpXrReceiverReferenceTime = 0x40000, | 102 kRtcpXrReceiverReferenceTime = 0x40000, |
103 kRtcpXrDlrrReportBlock = 0x80000, | 103 kRtcpXrDlrrReportBlock = 0x80000, |
104 kRtcpTransportFeedback = 0x100000, | 104 kRtcpTransportFeedback = 0x100000, |
105 kRtcpXrTargetBitrate = 0x200000 | 105 kRtcpXrTargetBitrate = 0x200000 |
106 }; | 106 }; |
107 | 107 |
108 enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp }; | 108 enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp }; |
109 | 109 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
215 | 215 |
216 virtual void OnIncomingSSRCChanged(uint32_t ssrc) = 0; | 216 virtual void OnIncomingSSRCChanged(uint32_t ssrc) = 0; |
217 | 217 |
218 virtual void OnIncomingCSRCChanged(uint32_t csrc, bool added) = 0; | 218 virtual void OnIncomingCSRCChanged(uint32_t csrc, bool added) = 0; |
219 }; | 219 }; |
220 | 220 |
221 class RtcpIntraFrameObserver { | 221 class RtcpIntraFrameObserver { |
222 public: | 222 public: |
223 virtual void OnReceivedIntraFrameRequest(uint32_t ssrc) = 0; | 223 virtual void OnReceivedIntraFrameRequest(uint32_t ssrc) = 0; |
224 | 224 |
225 // TODO(nisse): Obsolete, delete as soon as applications are | |
226 // updated. | |
danilchap
2017/03/21 14:53:24
intead of TODO add RTC_DEPRECATED to ensure no web
nisse-webrtc
2017/03/21 15:12:55
I'll give it a try, but if downstream projects are
| |
225 virtual void OnReceivedSLI(uint32_t ssrc, | 227 virtual void OnReceivedSLI(uint32_t ssrc, |
226 uint8_t picture_id) = 0; | 228 uint8_t picture_id) {} |
227 | 229 |
230 // TODO(nisse): Obsolete, delete as soon as applications are | |
danilchap
2017/03/21 14:53:24
ditto
| |
231 // updated. | |
228 virtual void OnReceivedRPSI(uint32_t ssrc, | 232 virtual void OnReceivedRPSI(uint32_t ssrc, |
229 uint64_t picture_id) = 0; | 233 uint64_t picture_id) {} |
230 | 234 |
231 virtual ~RtcpIntraFrameObserver() {} | 235 virtual ~RtcpIntraFrameObserver() {} |
232 }; | 236 }; |
233 | 237 |
234 class RtcpBandwidthObserver { | 238 class RtcpBandwidthObserver { |
235 public: | 239 public: |
236 // REMB or TMMBR | 240 // REMB or TMMBR |
237 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; | 241 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; |
238 | 242 |
239 virtual void OnReceivedRtcpReceiverReport( | 243 virtual void OnReceivedRtcpReceiverReport( |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
433 class TransportSequenceNumberAllocator { | 437 class TransportSequenceNumberAllocator { |
434 public: | 438 public: |
435 TransportSequenceNumberAllocator() {} | 439 TransportSequenceNumberAllocator() {} |
436 virtual ~TransportSequenceNumberAllocator() {} | 440 virtual ~TransportSequenceNumberAllocator() {} |
437 | 441 |
438 virtual uint16_t AllocateSequenceNumber() = 0; | 442 virtual uint16_t AllocateSequenceNumber() = 0; |
439 }; | 443 }; |
440 | 444 |
441 } // namespace webrtc | 445 } // namespace webrtc |
442 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ | 446 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |