OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 rtc::Optional<uint64_t> qp_sum; | 81 rtc::Optional<uint64_t> qp_sum; |
82 | 82 |
83 int current_payload_type = -1; | 83 int current_payload_type = -1; |
84 | 84 |
85 int total_bitrate_bps = 0; | 85 int total_bitrate_bps = 0; |
86 int discarded_packets = 0; | 86 int discarded_packets = 0; |
87 | 87 |
88 int width = 0; | 88 int width = 0; |
89 int height = 0; | 89 int height = 0; |
90 | 90 |
| 91 VideoContentType content_type = VideoContentType::UNSPECIFIED; |
| 92 |
91 int sync_offset_ms = std::numeric_limits<int>::max(); | 93 int sync_offset_ms = std::numeric_limits<int>::max(); |
92 | 94 |
93 uint32_t ssrc = 0; | 95 uint32_t ssrc = 0; |
94 std::string c_name; | 96 std::string c_name; |
95 StreamDataCounters rtp_stats; | 97 StreamDataCounters rtp_stats; |
96 RtcpPacketTypeCounter rtcp_packet_type_counts; | 98 RtcpPacketTypeCounter rtcp_packet_type_counts; |
97 RtcpStatistics rtcp_stats; | 99 RtcpStatistics rtcp_stats; |
98 | 100 |
99 // Timing frame info: all important timestamps for a full lifetime of a | 101 // Timing frame info: all important timestamps for a full lifetime of a |
100 // single 'timing frame'. | 102 // single 'timing frame'. |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; | 251 virtual void AddSecondarySink(RtpPacketSinkInterface* sink) = 0; |
250 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; | 252 virtual void RemoveSecondarySink(const RtpPacketSinkInterface* sink) = 0; |
251 | 253 |
252 protected: | 254 protected: |
253 virtual ~VideoReceiveStream() {} | 255 virtual ~VideoReceiveStream() {} |
254 }; | 256 }; |
255 | 257 |
256 } // namespace webrtc | 258 } // namespace webrtc |
257 | 259 |
258 #endif // WEBRTC_CALL_VIDEO_RECEIVE_STREAM_H_ | 260 #endif // WEBRTC_CALL_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |