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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // initialized from inside the VideoSendStream. | 93 // initialized from inside the VideoSendStream. |
94 VideoEncoder* encoder = nullptr; | 94 VideoEncoder* encoder = nullptr; |
95 } encoder_settings; | 95 } encoder_settings; |
96 | 96 |
97 static const size_t kDefaultMaxPacketSize = 1500 - 40; // TCP over IPv4. | 97 static const size_t kDefaultMaxPacketSize = 1500 - 40; // TCP over IPv4. |
98 struct Rtp { | 98 struct Rtp { |
99 std::string ToString() const; | 99 std::string ToString() const; |
100 | 100 |
101 std::vector<uint32_t> ssrcs; | 101 std::vector<uint32_t> ssrcs; |
102 | 102 |
| 103 // See RtcpMode for description. |
| 104 RtcpMode rtcp_mode = RtcpMode::kCompound; |
| 105 |
103 // Max RTP packet size delivered to send transport from VideoEngine. | 106 // Max RTP packet size delivered to send transport from VideoEngine. |
104 size_t max_packet_size = kDefaultMaxPacketSize; | 107 size_t max_packet_size = kDefaultMaxPacketSize; |
105 | 108 |
106 // RTP header extensions to use for this send stream. | 109 // RTP header extensions to use for this send stream. |
107 std::vector<RtpExtension> extensions; | 110 std::vector<RtpExtension> extensions; |
108 | 111 |
109 // See NackConfig for description. | 112 // See NackConfig for description. |
110 NackConfig nack; | 113 NackConfig nack; |
111 | 114 |
112 // See FecConfig for description. | 115 // See FecConfig for description. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // in the config. Encoder settings are passed on to the encoder instance along | 177 // in the config. Encoder settings are passed on to the encoder instance along |
175 // with the VideoStream settings. | 178 // with the VideoStream settings. |
176 virtual bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0; | 179 virtual bool ReconfigureVideoEncoder(const VideoEncoderConfig& config) = 0; |
177 | 180 |
178 virtual Stats GetStats() = 0; | 181 virtual Stats GetStats() = 0; |
179 }; | 182 }; |
180 | 183 |
181 } // namespace webrtc | 184 } // namespace webrtc |
182 | 185 |
183 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 186 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
OLD | NEW |