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

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

Issue 2042603002: Movable support for VideoReceiveStream::Config and avoid copies (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add TODO Created 4 years, 6 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
« no previous file with comments | « webrtc/media/engine/fakewebrtccall.cc ('k') | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // Wrapper for the receiver part, contains configs etc. that are needed to 410 // Wrapper for the receiver part, contains configs etc. that are needed to
411 // reconstruct the underlying VideoReceiveStream. Also serves as a wrapper 411 // reconstruct the underlying VideoReceiveStream. Also serves as a wrapper
412 // between rtc::VideoSinkInterface<webrtc::VideoFrame> and 412 // between rtc::VideoSinkInterface<webrtc::VideoFrame> and
413 // rtc::VideoSinkInterface<cricket::VideoFrame>. 413 // rtc::VideoSinkInterface<cricket::VideoFrame>.
414 class WebRtcVideoReceiveStream 414 class WebRtcVideoReceiveStream
415 : public rtc::VideoSinkInterface<webrtc::VideoFrame> { 415 : public rtc::VideoSinkInterface<webrtc::VideoFrame> {
416 public: 416 public:
417 WebRtcVideoReceiveStream( 417 WebRtcVideoReceiveStream(
418 webrtc::Call* call, 418 webrtc::Call* call,
419 const StreamParams& sp, 419 const StreamParams& sp,
420 const webrtc::VideoReceiveStream::Config& config, 420 webrtc::VideoReceiveStream::Config config,
421 WebRtcVideoDecoderFactory* external_decoder_factory, 421 WebRtcVideoDecoderFactory* external_decoder_factory,
422 bool default_stream, 422 bool default_stream,
423 const std::vector<VideoCodecSettings>& recv_codecs, 423 const std::vector<VideoCodecSettings>& recv_codecs,
424 bool red_disabled_by_remote_side); 424 bool red_disabled_by_remote_side);
425 ~WebRtcVideoReceiveStream(); 425 ~WebRtcVideoReceiveStream();
426 426
427 const std::vector<uint32_t>& GetSsrcs() const; 427 const std::vector<uint32_t>& GetSsrcs() const;
428 428
429 void SetLocalSsrc(uint32_t local_ssrc); 429 void SetLocalSsrc(uint32_t local_ssrc);
430 // TODO(deadbeef): Move these feedback parameters into the recv parameters. 430 // TODO(deadbeef): Move these feedback parameters into the recv parameters.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 // send_params/recv_params, rtp_extensions, options, etc. 549 // send_params/recv_params, rtp_extensions, options, etc.
550 VideoSendParameters send_params_; 550 VideoSendParameters send_params_;
551 VideoOptions default_send_options_; 551 VideoOptions default_send_options_;
552 VideoRecvParameters recv_params_; 552 VideoRecvParameters recv_params_;
553 bool red_disabled_by_remote_side_; 553 bool red_disabled_by_remote_side_;
554 }; 554 };
555 555
556 } // namespace cricket 556 } // namespace cricket
557 557
558 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ 558 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/fakewebrtccall.cc ('k') | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698