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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
274 | 274 |
275 // Callback, used to notify an observer whenever the send-side delay is updated. | 275 // Callback, used to notify an observer whenever the send-side delay is updated. |
276 class SendSideDelayObserver { | 276 class SendSideDelayObserver { |
277 public: | 277 public: |
278 virtual ~SendSideDelayObserver() {} | 278 virtual ~SendSideDelayObserver() {} |
279 virtual void SendSideDelayUpdated(int avg_delay_ms, | 279 virtual void SendSideDelayUpdated(int avg_delay_ms, |
280 int max_delay_ms, | 280 int max_delay_ms, |
281 uint32_t ssrc) = 0; | 281 uint32_t ssrc) = 0; |
282 }; | 282 }; |
283 | 283 |
284 // Callback, used to notify an observer whenever a packet is sent to network. | |
stefan-webrtc
2016/01/18 19:48:25
Maybe "sent to the transport" since this is when t
åsapersson
2016/04/06 14:52:37
Done.
| |
285 class SendPacketObserver { | |
286 public: | |
287 virtual ~SendPacketObserver() {} | |
288 virtual void OnSendPacket(uint16_t packet_id, | |
289 int64_t capture_time_ms, | |
290 uint32_t ssrc) = 0; | |
291 }; | |
292 | |
284 // ================================================================== | 293 // ================================================================== |
285 // Voice specific types | 294 // Voice specific types |
286 // ================================================================== | 295 // ================================================================== |
287 | 296 |
288 // Each codec supported can be described by this structure. | 297 // Each codec supported can be described by this structure. |
289 struct CodecInst { | 298 struct CodecInst { |
290 int pltype; | 299 int pltype; |
291 char plname[RTP_PAYLOAD_NAME_SIZE]; | 300 char plname[RTP_PAYLOAD_NAME_SIZE]; |
292 int plfreq; | 301 int plfreq; |
293 int pacsize; | 302 int pacsize; |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
902 uint32_t ssrc) = 0; | 911 uint32_t ssrc) = 0; |
903 }; | 912 }; |
904 | 913 |
905 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size | 914 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size |
906 // RTCP mode is described by RFC 5506. | 915 // RTCP mode is described by RFC 5506. |
907 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 916 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
908 | 917 |
909 } // namespace webrtc | 918 } // namespace webrtc |
910 | 919 |
911 #endif // WEBRTC_COMMON_TYPES_H_ | 920 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |