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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // non-trivial default constructor. | 54 // non-trivial default constructor. |
55 struct RTPVideoHeader { | 55 struct RTPVideoHeader { |
56 uint16_t width; // size | 56 uint16_t width; // size |
57 uint16_t height; | 57 uint16_t height; |
58 VideoRotation rotation; | 58 VideoRotation rotation; |
59 | 59 |
60 PlayoutDelay playout_delay; | 60 PlayoutDelay playout_delay; |
61 | 61 |
62 VideoContentType content_type; | 62 VideoContentType content_type; |
63 | 63 |
| 64 VideoTiming video_timing; |
| 65 |
64 bool is_first_packet_in_frame; | 66 bool is_first_packet_in_frame; |
65 uint8_t simulcastIdx; // Index if the simulcast encoder creating | 67 uint8_t simulcastIdx; // Index if the simulcast encoder creating |
66 // this frame, 0 if not using simulcast. | 68 // this frame, 0 if not using simulcast. |
67 RtpVideoCodecTypes codec; | 69 RtpVideoCodecTypes codec; |
68 RTPVideoTypeHeader codecHeader; | 70 RTPVideoTypeHeader codecHeader; |
69 }; | 71 }; |
70 union RTPTypeHeader { | 72 union RTPTypeHeader { |
71 RTPAudioHeader Audio; | 73 RTPAudioHeader Audio; |
72 RTPVideoHeader Video; | 74 RTPVideoHeader Video; |
73 }; | 75 }; |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 static constexpr int kNotAProbe = -1; | 613 static constexpr int kNotAProbe = -1; |
612 int send_bitrate_bps = -1; | 614 int send_bitrate_bps = -1; |
613 int probe_cluster_id = kNotAProbe; | 615 int probe_cluster_id = kNotAProbe; |
614 int probe_cluster_min_probes = -1; | 616 int probe_cluster_min_probes = -1; |
615 int probe_cluster_min_bytes = -1; | 617 int probe_cluster_min_bytes = -1; |
616 }; | 618 }; |
617 | 619 |
618 } // namespace webrtc | 620 } // namespace webrtc |
619 | 621 |
620 #endif // WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_ | 622 #endif // WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_ |
OLD | NEW |