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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
710 bool voiceActivity; | 710 bool voiceActivity; |
711 uint8_t audioLevel; | 711 uint8_t audioLevel; |
712 | 712 |
713 // For Coordination of Video Orientation. See | 713 // For Coordination of Video Orientation. See |
714 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/ | 714 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/ |
715 // ts_126114v120700p.pdf | 715 // ts_126114v120700p.pdf |
716 bool hasVideoRotation; | 716 bool hasVideoRotation; |
717 VideoRotation videoRotation; | 717 VideoRotation videoRotation; |
718 | 718 |
719 PlayoutDelay playout_delay = {-1, -1}; | 719 PlayoutDelay playout_delay = {-1, -1}; |
720 | |
721 // For identification of a stream when ssrc is not signaled. See | |
722 // https://tools.ietf.org/html/draft-ietf-avtext-rid-09 | |
723 // TODO(danilchap): Update url from draft to release version. | |
724 size_t rid_size = 0; | |
725 char rid[16]; | |
pthatcher1
2017/04/06 21:17:34
The SDP level uses "rid=", but the header extensio
danilchap
2017/04/07 07:07:49
Since structure type already have 'rtp' in it, I'l
| |
726 size_t repair_rid_size = 0; | |
727 char repair_rid[16]; | |
pthatcher1
2017/04/06 21:17:34
The header extension can be more than 16 chars, ev
danilchap
2017/04/07 07:07:49
std::string will turn this and all dependent struc
| |
720 }; | 728 }; |
721 | 729 |
722 struct RTPHeader { | 730 struct RTPHeader { |
723 RTPHeader(); | 731 RTPHeader(); |
724 | 732 |
725 bool markerBit; | 733 bool markerBit; |
726 uint8_t payloadType; | 734 uint8_t payloadType; |
727 uint16_t sequenceNumber; | 735 uint16_t sequenceNumber; |
728 uint32_t timestamp; | 736 uint32_t timestamp; |
729 uint32_t ssrc; | 737 uint32_t ssrc; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
835 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 843 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
836 | 844 |
837 enum NetworkState { | 845 enum NetworkState { |
838 kNetworkUp, | 846 kNetworkUp, |
839 kNetworkDown, | 847 kNetworkDown, |
840 }; | 848 }; |
841 | 849 |
842 } // namespace webrtc | 850 } // namespace webrtc |
843 | 851 |
844 #endif // WEBRTC_COMMON_TYPES_H_ | 852 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |