Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: talk/media/webrtc/webrtcvideoengine2.h

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disable sign-compare warning on Win Clang Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * libjingle
3 * Copyright 2014 Google Inc.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
13 * 3. The name of the author may not be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28 #ifndef TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_
29 #define TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_
30
31 #include <map>
32 #include <string>
33 #include <vector>
34
35 #include "talk/media/base/mediaengine.h"
36 #include "talk/media/webrtc/webrtcvideochannelfactory.h"
37 #include "talk/media/webrtc/webrtcvideodecoderfactory.h"
38 #include "talk/media/webrtc/webrtcvideoencoderfactory.h"
39 #include "webrtc/base/criticalsection.h"
40 #include "webrtc/base/scoped_ptr.h"
41 #include "webrtc/base/thread_annotations.h"
42 #include "webrtc/base/thread_checker.h"
43 #include "webrtc/call.h"
44 #include "webrtc/transport.h"
45 #include "webrtc/video_frame.h"
46 #include "webrtc/video_receive_stream.h"
47 #include "webrtc/video_renderer.h"
48 #include "webrtc/video_send_stream.h"
49
50 namespace webrtc {
51 class VideoDecoder;
52 class VideoEncoder;
53 }
54
55 namespace rtc {
56 class Thread;
57 } // namespace rtc
58
59 namespace cricket {
60
61 class VideoCapturer;
62 class VideoFrame;
63 class VideoProcessor;
64 class VideoRenderer;
65 class VoiceMediaChannel;
66 class WebRtcDecoderObserver;
67 class WebRtcEncoderObserver;
68 class WebRtcLocalStreamInfo;
69 class WebRtcRenderAdapter;
70 class WebRtcVideoChannelRecvInfo;
71 class WebRtcVideoChannelSendInfo;
72 class WebRtcVoiceEngine;
73 class WebRtcVoiceMediaChannel;
74
75 struct CapturedFrame;
76 struct Device;
77
78 // Exposed here for unittests.
79 std::vector<VideoCodec> DefaultVideoCodecList();
80
81 class UnsignalledSsrcHandler {
82 public:
83 enum Action {
84 kDropPacket,
85 kDeliverPacket,
86 };
87 virtual Action OnUnsignalledSsrc(WebRtcVideoChannel2* channel,
88 uint32_t ssrc) = 0;
89 };
90
91 // TODO(pbos): Remove, use external handlers only.
92 class DefaultUnsignalledSsrcHandler : public UnsignalledSsrcHandler {
93 public:
94 DefaultUnsignalledSsrcHandler();
95 Action OnUnsignalledSsrc(WebRtcVideoChannel2* channel,
96 uint32_t ssrc) override;
97
98 VideoRenderer* GetDefaultRenderer() const;
99 void SetDefaultRenderer(VideoMediaChannel* channel, VideoRenderer* renderer);
100
101 private:
102 uint32_t default_recv_ssrc_;
103 VideoRenderer* default_renderer_;
104 };
105
106 // WebRtcVideoEngine2 is used for the new native WebRTC Video API (webrtc:1667).
107 class WebRtcVideoEngine2 {
108 public:
109 WebRtcVideoEngine2();
110 ~WebRtcVideoEngine2();
111
112 // Basic video engine implementation.
113 void Init();
114
115 WebRtcVideoChannel2* CreateChannel(webrtc::Call* call,
116 const VideoOptions& options);
117
118 const std::vector<VideoCodec>& codecs() const;
119 RtpCapabilities GetCapabilities() const;
120
121 // Set a WebRtcVideoDecoderFactory for external decoding. Video engine does
122 // not take the ownership of |decoder_factory|. The caller needs to make sure
123 // that |decoder_factory| outlives the video engine.
124 void SetExternalDecoderFactory(WebRtcVideoDecoderFactory* decoder_factory);
125 // Set a WebRtcVideoEncoderFactory for external encoding. Video engine does
126 // not take the ownership of |encoder_factory|. The caller needs to make sure
127 // that |encoder_factory| outlives the video engine.
128 virtual void SetExternalEncoderFactory(
129 WebRtcVideoEncoderFactory* encoder_factory);
130
131 bool EnableTimedRender();
132
133 bool FindCodec(const VideoCodec& in);
134 // Check whether the supplied trace should be ignored.
135 bool ShouldIgnoreTrace(const std::string& trace);
136
137 private:
138 std::vector<VideoCodec> GetSupportedCodecs() const;
139
140 std::vector<VideoCodec> video_codecs_;
141
142 bool initialized_;
143
144 WebRtcVideoDecoderFactory* external_decoder_factory_;
145 WebRtcVideoEncoderFactory* external_encoder_factory_;
146 rtc::scoped_ptr<WebRtcVideoEncoderFactory> simulcast_encoder_factory_;
147 };
148
149 class WebRtcVideoChannel2 : public rtc::MessageHandler,
150 public VideoMediaChannel,
151 public webrtc::Transport,
152 public webrtc::LoadObserver {
153 public:
154 WebRtcVideoChannel2(webrtc::Call* call,
155 const VideoOptions& options,
156 const std::vector<VideoCodec>& recv_codecs,
157 WebRtcVideoEncoderFactory* external_encoder_factory,
158 WebRtcVideoDecoderFactory* external_decoder_factory);
159 ~WebRtcVideoChannel2() override;
160
161 // VideoMediaChannel implementation
162 bool SetSendParameters(const VideoSendParameters& params) override;
163 bool SetRecvParameters(const VideoRecvParameters& params) override;
164 bool GetSendCodec(VideoCodec* send_codec) override;
165 bool SetSendStreamFormat(uint32_t ssrc, const VideoFormat& format) override;
166 bool SetSend(bool send) override;
167 bool SetVideoSend(uint32_t ssrc,
168 bool mute,
169 const VideoOptions* options) override;
170 bool AddSendStream(const StreamParams& sp) override;
171 bool RemoveSendStream(uint32_t ssrc) override;
172 bool AddRecvStream(const StreamParams& sp) override;
173 bool AddRecvStream(const StreamParams& sp, bool default_stream);
174 bool RemoveRecvStream(uint32_t ssrc) override;
175 bool SetRenderer(uint32_t ssrc, VideoRenderer* renderer) override;
176 bool GetStats(VideoMediaInfo* info) override;
177 bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer) override;
178 bool SendIntraFrame() override;
179 bool RequestIntraFrame() override;
180
181 void OnPacketReceived(rtc::Buffer* packet,
182 const rtc::PacketTime& packet_time) override;
183 void OnRtcpReceived(rtc::Buffer* packet,
184 const rtc::PacketTime& packet_time) override;
185 void OnReadyToSend(bool ready) override;
186 void SetInterface(NetworkInterface* iface) override;
187 void UpdateAspectRatio(int ratio_w, int ratio_h) override;
188
189 void OnMessage(rtc::Message* msg) override;
190
191 void OnLoadUpdate(Load load) override;
192
193 // Implemented for VideoMediaChannelTest.
194 bool sending() const { return sending_; }
195 uint32_t GetDefaultSendChannelSsrc() { return default_send_ssrc_; }
196
197 private:
198 bool MuteStream(uint32_t ssrc, bool mute);
199 class WebRtcVideoReceiveStream;
200
201 bool SetSendCodecs(const std::vector<VideoCodec>& codecs);
202 bool SetSendRtpHeaderExtensions(
203 const std::vector<RtpHeaderExtension>& extensions);
204 bool SetMaxSendBandwidth(int bps);
205 bool SetOptions(const VideoOptions& options);
206 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs);
207 bool SetRecvRtpHeaderExtensions(
208 const std::vector<RtpHeaderExtension>& extensions);
209
210 void ConfigureReceiverRtp(webrtc::VideoReceiveStream::Config* config,
211 const StreamParams& sp) const;
212 bool CodecIsExternallySupported(const std::string& name) const;
213 bool ValidateSendSsrcAvailability(const StreamParams& sp) const
214 EXCLUSIVE_LOCKS_REQUIRED(stream_crit_);
215 bool ValidateReceiveSsrcAvailability(const StreamParams& sp) const
216 EXCLUSIVE_LOCKS_REQUIRED(stream_crit_);
217 void DeleteReceiveStream(WebRtcVideoReceiveStream* stream)
218 EXCLUSIVE_LOCKS_REQUIRED(stream_crit_);
219
220 struct VideoCodecSettings {
221 VideoCodecSettings();
222
223 bool operator==(const VideoCodecSettings& other) const;
224 bool operator!=(const VideoCodecSettings& other) const;
225
226 VideoCodec codec;
227 webrtc::FecConfig fec;
228 int rtx_payload_type;
229 };
230
231 static std::string CodecSettingsVectorToString(
232 const std::vector<VideoCodecSettings>& codecs);
233
234 // Wrapper for the sender part, this is where the capturer is connected and
235 // frames are then converted from cricket frames to webrtc frames.
236 class WebRtcVideoSendStream : public sigslot::has_slots<> {
237 public:
238 WebRtcVideoSendStream(
239 webrtc::Call* call,
240 const StreamParams& sp,
241 const webrtc::VideoSendStream::Config& config,
242 WebRtcVideoEncoderFactory* external_encoder_factory,
243 const VideoOptions& options,
244 int max_bitrate_bps,
245 const rtc::Optional<VideoCodecSettings>& codec_settings,
246 const std::vector<webrtc::RtpExtension>& rtp_extensions,
247 const VideoSendParameters& send_params);
248 ~WebRtcVideoSendStream();
249
250 void SetOptions(const VideoOptions& options);
251 void SetCodec(const VideoCodecSettings& codec);
252 void SetRtpExtensions(
253 const std::vector<webrtc::RtpExtension>& rtp_extensions);
254 // TODO(deadbeef): Move logic from SetCodec/SetRtpExtensions/etc.
255 // into this method. Currently this method only sets the RTCP mode.
256 void SetSendParameters(const VideoSendParameters& send_params);
257
258 void InputFrame(VideoCapturer* capturer, const VideoFrame* frame);
259 bool SetCapturer(VideoCapturer* capturer);
260 bool SetVideoFormat(const VideoFormat& format);
261 void MuteStream(bool mute);
262 bool DisconnectCapturer();
263
264 void SetApplyRotation(bool apply_rotation);
265
266 void Start();
267 void Stop();
268
269 const std::vector<uint32_t>& GetSsrcs() const;
270 VideoSenderInfo GetVideoSenderInfo();
271 void FillBandwidthEstimationInfo(BandwidthEstimationInfo* bwe_info);
272
273 void SetMaxBitrateBps(int max_bitrate_bps);
274
275 private:
276 // Parameters needed to reconstruct the underlying stream.
277 // webrtc::VideoSendStream doesn't support setting a lot of options on the
278 // fly, so when those need to be changed we tear down and reconstruct with
279 // similar parameters depending on which options changed etc.
280 struct VideoSendStreamParameters {
281 VideoSendStreamParameters(
282 const webrtc::VideoSendStream::Config& config,
283 const VideoOptions& options,
284 int max_bitrate_bps,
285 const rtc::Optional<VideoCodecSettings>& codec_settings);
286 webrtc::VideoSendStream::Config config;
287 VideoOptions options;
288 int max_bitrate_bps;
289 rtc::Optional<VideoCodecSettings> codec_settings;
290 // Sent resolutions + bitrates etc. by the underlying VideoSendStream,
291 // typically changes when setting a new resolution or reconfiguring
292 // bitrates.
293 webrtc::VideoEncoderConfig encoder_config;
294 };
295
296 struct AllocatedEncoder {
297 AllocatedEncoder(webrtc::VideoEncoder* encoder,
298 webrtc::VideoCodecType type,
299 bool external);
300 webrtc::VideoEncoder* encoder;
301 webrtc::VideoEncoder* external_encoder;
302 webrtc::VideoCodecType type;
303 bool external;
304 };
305
306 struct Dimensions {
307 // Initial encoder configuration (QCIF, 176x144) frame (to ensure that
308 // hardware encoders can be initialized). This gives us low memory usage
309 // but also makes it so configuration errors are discovered at the time we
310 // apply the settings rather than when we get the first frame (waiting for
311 // the first frame to know that you gave a bad codec parameter could make
312 // debugging hard).
313 // TODO(pbos): Consider setting up encoders lazily.
314 Dimensions() : width(176), height(144), is_screencast(false) {}
315 int width;
316 int height;
317 bool is_screencast;
318 };
319
320 union VideoEncoderSettings {
321 webrtc::VideoCodecVP8 vp8;
322 webrtc::VideoCodecVP9 vp9;
323 };
324
325 static std::vector<webrtc::VideoStream> CreateVideoStreams(
326 const VideoCodec& codec,
327 const VideoOptions& options,
328 int max_bitrate_bps,
329 size_t num_streams);
330 static std::vector<webrtc::VideoStream> CreateSimulcastVideoStreams(
331 const VideoCodec& codec,
332 const VideoOptions& options,
333 int max_bitrate_bps,
334 size_t num_streams);
335
336 void* ConfigureVideoEncoderSettings(const VideoCodec& codec,
337 const VideoOptions& options,
338 bool is_screencast)
339 EXCLUSIVE_LOCKS_REQUIRED(lock_);
340
341 AllocatedEncoder CreateVideoEncoder(const VideoCodec& codec)
342 EXCLUSIVE_LOCKS_REQUIRED(lock_);
343 void DestroyVideoEncoder(AllocatedEncoder* encoder)
344 EXCLUSIVE_LOCKS_REQUIRED(lock_);
345 void SetCodecAndOptions(const VideoCodecSettings& codec,
346 const VideoOptions& options)
347 EXCLUSIVE_LOCKS_REQUIRED(lock_);
348 void RecreateWebRtcStream() EXCLUSIVE_LOCKS_REQUIRED(lock_);
349 webrtc::VideoEncoderConfig CreateVideoEncoderConfig(
350 const Dimensions& dimensions,
351 const VideoCodec& codec) const EXCLUSIVE_LOCKS_REQUIRED(lock_);
352 void SetDimensions(int width, int height, bool is_screencast)
353 EXCLUSIVE_LOCKS_REQUIRED(lock_);
354
355 const std::vector<uint32_t> ssrcs_;
356 const std::vector<SsrcGroup> ssrc_groups_;
357 webrtc::Call* const call_;
358 WebRtcVideoEncoderFactory* const external_encoder_factory_
359 GUARDED_BY(lock_);
360
361 rtc::CriticalSection lock_;
362 webrtc::VideoSendStream* stream_ GUARDED_BY(lock_);
363 VideoSendStreamParameters parameters_ GUARDED_BY(lock_);
364 VideoEncoderSettings encoder_settings_ GUARDED_BY(lock_);
365 AllocatedEncoder allocated_encoder_ GUARDED_BY(lock_);
366 Dimensions last_dimensions_ GUARDED_BY(lock_);
367
368 VideoCapturer* capturer_ GUARDED_BY(lock_);
369 bool sending_ GUARDED_BY(lock_);
370 bool muted_ GUARDED_BY(lock_);
371 VideoFormat format_ GUARDED_BY(lock_);
372 int old_adapt_changes_ GUARDED_BY(lock_);
373
374 // The timestamp of the first frame received
375 // Used to generate the timestamps of subsequent frames
376 int64_t first_frame_timestamp_ms_ GUARDED_BY(lock_);
377
378 // The timestamp of the last frame received
379 // Used to generate timestamp for the black frame when capturer is removed
380 int64_t last_frame_timestamp_ms_ GUARDED_BY(lock_);
381 };
382
383 // Wrapper for the receiver part, contains configs etc. that are needed to
384 // reconstruct the underlying VideoReceiveStream. Also serves as a wrapper
385 // between webrtc::VideoRenderer and cricket::VideoRenderer.
386 class WebRtcVideoReceiveStream : public webrtc::VideoRenderer {
387 public:
388 WebRtcVideoReceiveStream(
389 webrtc::Call* call,
390 const StreamParams& sp,
391 const webrtc::VideoReceiveStream::Config& config,
392 WebRtcVideoDecoderFactory* external_decoder_factory,
393 bool default_stream,
394 const std::vector<VideoCodecSettings>& recv_codecs,
395 bool disable_prerenderer_smoothing);
396 ~WebRtcVideoReceiveStream();
397
398 const std::vector<uint32_t>& GetSsrcs() const;
399
400 void SetLocalSsrc(uint32_t local_ssrc);
401 void SetFeedbackParameters(bool nack_enabled,
402 bool remb_enabled,
403 bool transport_cc_enabled);
404 void SetRecvCodecs(const std::vector<VideoCodecSettings>& recv_codecs);
405 void SetRtpExtensions(const std::vector<webrtc::RtpExtension>& extensions);
406 // TODO(deadbeef): Move logic from SetRecvCodecs/SetRtpExtensions/etc.
407 // into this method. Currently this method only sets the RTCP mode.
408 void SetRecvParameters(const VideoRecvParameters& recv_params);
409
410 void RenderFrame(const webrtc::VideoFrame& frame,
411 int time_to_render_ms) override;
412 bool IsTextureSupported() const override;
413 bool SmoothsRenderedFrames() const override;
414 bool IsDefaultStream() const;
415
416 void SetRenderer(cricket::VideoRenderer* renderer);
417
418 VideoReceiverInfo GetVideoReceiverInfo();
419
420 private:
421 struct AllocatedDecoder {
422 AllocatedDecoder(webrtc::VideoDecoder* decoder,
423 webrtc::VideoCodecType type,
424 bool external);
425 webrtc::VideoDecoder* decoder;
426 // Decoder wrapped into a fallback decoder to permit software fallback.
427 webrtc::VideoDecoder* external_decoder;
428 webrtc::VideoCodecType type;
429 bool external;
430 };
431
432 void RecreateWebRtcStream();
433
434 AllocatedDecoder CreateOrReuseVideoDecoder(
435 std::vector<AllocatedDecoder>* old_decoder,
436 const VideoCodec& codec);
437 void ClearDecoders(std::vector<AllocatedDecoder>* allocated_decoders);
438
439 std::string GetCodecNameFromPayloadType(int payload_type);
440
441 webrtc::Call* const call_;
442 const std::vector<uint32_t> ssrcs_;
443 const std::vector<SsrcGroup> ssrc_groups_;
444
445 webrtc::VideoReceiveStream* stream_;
446 const bool default_stream_;
447 webrtc::VideoReceiveStream::Config config_;
448
449 WebRtcVideoDecoderFactory* const external_decoder_factory_;
450 std::vector<AllocatedDecoder> allocated_decoders_;
451
452 const bool disable_prerenderer_smoothing_;
453
454 rtc::CriticalSection renderer_lock_;
455 cricket::VideoRenderer* renderer_ GUARDED_BY(renderer_lock_);
456 int last_width_ GUARDED_BY(renderer_lock_);
457 int last_height_ GUARDED_BY(renderer_lock_);
458 // Expands remote RTP timestamps to int64_t to be able to estimate how long
459 // the stream has been running.
460 rtc::TimestampWrapAroundHandler timestamp_wraparound_handler_
461 GUARDED_BY(renderer_lock_);
462 int64_t first_frame_timestamp_ GUARDED_BY(renderer_lock_);
463 // Start NTP time is estimated as current remote NTP time (estimated from
464 // RTCP) minus the elapsed time, as soon as remote NTP time is available.
465 int64_t estimated_remote_start_ntp_time_ms_ GUARDED_BY(renderer_lock_);
466 };
467
468 void Construct(webrtc::Call* call, WebRtcVideoEngine2* engine);
469 void SetDefaultOptions();
470
471 bool SendRtp(const uint8_t* data,
472 size_t len,
473 const webrtc::PacketOptions& options) override;
474 bool SendRtcp(const uint8_t* data, size_t len) override;
475
476 void StartAllSendStreams();
477 void StopAllSendStreams();
478
479 static std::vector<VideoCodecSettings> MapCodecs(
480 const std::vector<VideoCodec>& codecs);
481 std::vector<VideoCodecSettings> FilterSupportedCodecs(
482 const std::vector<VideoCodecSettings>& mapped_codecs) const;
483 static bool ReceiveCodecsHaveChanged(std::vector<VideoCodecSettings> before,
484 std::vector<VideoCodecSettings> after);
485
486 void FillSenderStats(VideoMediaInfo* info);
487 void FillReceiverStats(VideoMediaInfo* info);
488 void FillBandwidthEstimationStats(const webrtc::Call::Stats& stats,
489 VideoMediaInfo* info);
490
491 rtc::ThreadChecker thread_checker_;
492
493 uint32_t rtcp_receiver_report_ssrc_;
494 bool sending_;
495 webrtc::Call* const call_;
496
497 uint32_t default_send_ssrc_;
498
499 DefaultUnsignalledSsrcHandler default_unsignalled_ssrc_handler_;
500 UnsignalledSsrcHandler* const unsignalled_ssrc_handler_;
501
502 // Separate list of set capturers used to signal CPU adaptation. These should
503 // not be locked while calling methods that take other locks to prevent
504 // lock-order inversions.
505 rtc::CriticalSection capturer_crit_;
506 bool signal_cpu_adaptation_ GUARDED_BY(capturer_crit_);
507 std::map<uint32_t, VideoCapturer*> capturers_ GUARDED_BY(capturer_crit_);
508
509 rtc::CriticalSection stream_crit_;
510 // Using primary-ssrc (first ssrc) as key.
511 std::map<uint32_t, WebRtcVideoSendStream*> send_streams_
512 GUARDED_BY(stream_crit_);
513 std::map<uint32_t, WebRtcVideoReceiveStream*> receive_streams_
514 GUARDED_BY(stream_crit_);
515 std::set<uint32_t> send_ssrcs_ GUARDED_BY(stream_crit_);
516 std::set<uint32_t> receive_ssrcs_ GUARDED_BY(stream_crit_);
517
518 rtc::Optional<VideoCodecSettings> send_codec_;
519 std::vector<webrtc::RtpExtension> send_rtp_extensions_;
520
521 WebRtcVideoEncoderFactory* const external_encoder_factory_;
522 WebRtcVideoDecoderFactory* const external_decoder_factory_;
523 std::vector<VideoCodecSettings> recv_codecs_;
524 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
525 webrtc::Call::Config::BitrateConfig bitrate_config_;
526 VideoOptions options_;
527 // TODO(deadbeef): Don't duplicate information between
528 // send_params/recv_params, rtp_extensions, options, etc.
529 VideoSendParameters send_params_;
530 VideoRecvParameters recv_params_;
531 };
532
533 } // namespace cricket
534
535 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698