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 |
11 #ifndef WEBRTC_COMMON_TYPES_H_ | 11 #ifndef WEBRTC_COMMON_TYPES_H_ |
12 #define WEBRTC_COMMON_TYPES_H_ | 12 #define WEBRTC_COMMON_TYPES_H_ |
13 | 13 |
14 #include <stddef.h> | 14 #include <stddef.h> |
15 #include <string.h> | 15 #include <string.h> |
16 | |
17 #include <ostream> | 16 #include <ostream> |
18 #include <string> | 17 #include <string> |
19 #include <vector> | 18 #include <vector> |
20 | 19 |
21 #include "webrtc/api/video/video_content_type.h" | 20 #include "webrtc/api/video/video_content_type.h" |
22 #include "webrtc/api/video/video_rotation.h" | 21 #include "webrtc/api/video/video_rotation.h" |
23 #include "webrtc/api/video/video_timing.h" | 22 #include "webrtc/api/video/video_timing.h" |
24 #include "webrtc/base/array_view.h" | 23 #include "webrtc/base/array_view.h" |
25 #include "webrtc/base/checks.h" | 24 #include "webrtc/base/checks.h" |
26 #include "webrtc/base/optional.h" | 25 #include "webrtc/base/optional.h" |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 // ts_126114v120700p.pdf | 770 // ts_126114v120700p.pdf |
772 bool hasVideoRotation; | 771 bool hasVideoRotation; |
773 VideoRotation videoRotation; | 772 VideoRotation videoRotation; |
774 | 773 |
775 // TODO(ilnik): Refactor this and one above to be rtc::Optional() and remove | 774 // TODO(ilnik): Refactor this and one above to be rtc::Optional() and remove |
776 // a corresponding bool flag. | 775 // a corresponding bool flag. |
777 bool hasVideoContentType; | 776 bool hasVideoContentType; |
778 VideoContentType videoContentType; | 777 VideoContentType videoContentType; |
779 | 778 |
780 bool has_video_timing; | 779 bool has_video_timing; |
781 VideoTiming video_timing; | 780 VideoSendTiming video_timing; |
782 | 781 |
783 PlayoutDelay playout_delay = {-1, -1}; | 782 PlayoutDelay playout_delay = {-1, -1}; |
784 | 783 |
785 // For identification of a stream when ssrc is not signaled. See | 784 // For identification of a stream when ssrc is not signaled. See |
786 // https://tools.ietf.org/html/draft-ietf-avtext-rid-09 | 785 // https://tools.ietf.org/html/draft-ietf-avtext-rid-09 |
787 // TODO(danilchap): Update url from draft to release version. | 786 // TODO(danilchap): Update url from draft to release version. |
788 StreamId stream_id; | 787 StreamId stream_id; |
789 StreamId repaired_stream_id; | 788 StreamId repaired_stream_id; |
790 }; | 789 }; |
791 | 790 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 904 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
906 | 905 |
907 enum NetworkState { | 906 enum NetworkState { |
908 kNetworkUp, | 907 kNetworkUp, |
909 kNetworkDown, | 908 kNetworkDown, |
910 }; | 909 }; |
911 | 910 |
912 } // namespace webrtc | 911 } // namespace webrtc |
913 | 912 |
914 #endif // WEBRTC_COMMON_TYPES_H_ | 913 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |