| 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 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 // ts_126114v120700p.pdf | 774 // ts_126114v120700p.pdf |
| 776 bool hasVideoRotation; | 775 bool hasVideoRotation; |
| 777 VideoRotation videoRotation; | 776 VideoRotation videoRotation; |
| 778 | 777 |
| 779 // TODO(ilnik): Refactor this and one above to be rtc::Optional() and remove | 778 // TODO(ilnik): Refactor this and one above to be rtc::Optional() and remove |
| 780 // a corresponding bool flag. | 779 // a corresponding bool flag. |
| 781 bool hasVideoContentType; | 780 bool hasVideoContentType; |
| 782 VideoContentType videoContentType; | 781 VideoContentType videoContentType; |
| 783 | 782 |
| 784 bool has_video_timing; | 783 bool has_video_timing; |
| 785 VideoTiming video_timing; | 784 VideoSendTiming video_timing; |
| 786 | 785 |
| 787 PlayoutDelay playout_delay = {-1, -1}; | 786 PlayoutDelay playout_delay = {-1, -1}; |
| 788 | 787 |
| 789 // For identification of a stream when ssrc is not signaled. See | 788 // For identification of a stream when ssrc is not signaled. See |
| 790 // https://tools.ietf.org/html/draft-ietf-avtext-rid-09 | 789 // https://tools.ietf.org/html/draft-ietf-avtext-rid-09 |
| 791 // TODO(danilchap): Update url from draft to release version. | 790 // TODO(danilchap): Update url from draft to release version. |
| 792 StreamId stream_id; | 791 StreamId stream_id; |
| 793 StreamId repaired_stream_id; | 792 StreamId repaired_stream_id; |
| 794 }; | 793 }; |
| 795 | 794 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 908 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
| 910 | 909 |
| 911 enum NetworkState { | 910 enum NetworkState { |
| 912 kNetworkUp, | 911 kNetworkUp, |
| 913 kNetworkDown, | 912 kNetworkDown, |
| 914 }; | 913 }; |
| 915 | 914 |
| 916 } // namespace webrtc | 915 } // namespace webrtc |
| 917 | 916 |
| 918 #endif // WEBRTC_COMMON_TYPES_H_ | 917 #endif // WEBRTC_COMMON_TYPES_H_ |
| OLD | NEW |