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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
765 // https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/ | 765 // https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/ |
766 bool hasAudioLevel; | 766 bool hasAudioLevel; |
767 bool voiceActivity; | 767 bool voiceActivity; |
768 uint8_t audioLevel; | 768 uint8_t audioLevel; |
769 | 769 |
770 // For Coordination of Video Orientation. See | 770 // For Coordination of Video Orientation. See |
771 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/ | 771 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/ |
772 // ts_126114v120700p.pdf | 772 // ts_126114v120700p.pdf |
773 bool hasVideoRotation; | 773 bool hasVideoRotation; |
774 uint8_t videoRotation; | 774 uint8_t videoRotation; |
775 | |
776 // Value of -1 represents that there is no valid playout delay value | |
777 // specified. | |
778 int16_t min_playout_delay_ms; | |
779 int16_t max_playout_delay_ms; | |
sprang_webrtc
2016/05/24 14:46:08
Maybe you can have a small separate struct Playout
Irfan
2016/05/25 09:32:53
Done.
| |
775 }; | 780 }; |
776 | 781 |
777 struct RTPHeader { | 782 struct RTPHeader { |
778 RTPHeader(); | 783 RTPHeader(); |
779 | 784 |
780 bool markerBit; | 785 bool markerBit; |
781 uint8_t payloadType; | 786 uint8_t payloadType; |
782 uint16_t sequenceNumber; | 787 uint16_t sequenceNumber; |
783 uint32_t timestamp; | 788 uint32_t timestamp; |
784 uint32_t ssrc; | 789 uint32_t ssrc; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
893 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 898 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
894 | 899 |
895 enum NetworkState { | 900 enum NetworkState { |
896 kNetworkUp, | 901 kNetworkUp, |
897 kNetworkDown, | 902 kNetworkDown, |
898 }; | 903 }; |
899 | 904 |
900 } // namespace webrtc | 905 } // namespace webrtc |
901 | 906 |
902 #endif // WEBRTC_COMMON_TYPES_H_ | 907 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |