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

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

Issue 1917193008: Adding getParameters/setParameters APIs to RtpReceiver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: objc compile errors Created 4 years, 7 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/base/mediachannel.h ('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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const std::vector<VideoCodec>& recv_codecs, 140 const std::vector<VideoCodec>& recv_codecs,
141 WebRtcVideoEncoderFactory* external_encoder_factory, 141 WebRtcVideoEncoderFactory* external_encoder_factory,
142 WebRtcVideoDecoderFactory* external_decoder_factory); 142 WebRtcVideoDecoderFactory* external_decoder_factory);
143 ~WebRtcVideoChannel2() override; 143 ~WebRtcVideoChannel2() override;
144 144
145 // VideoMediaChannel implementation 145 // VideoMediaChannel implementation
146 rtc::DiffServCodePoint PreferredDscp() const override; 146 rtc::DiffServCodePoint PreferredDscp() const override;
147 147
148 bool SetSendParameters(const VideoSendParameters& params) override; 148 bool SetSendParameters(const VideoSendParameters& params) override;
149 bool SetRecvParameters(const VideoRecvParameters& params) override; 149 bool SetRecvParameters(const VideoRecvParameters& params) override;
150 webrtc::RtpParameters GetRtpParameters(uint32_t ssrc) const override; 150 webrtc::RtpParameters GetRtpSendParameters(uint32_t ssrc) const override;
151 bool SetRtpParameters(uint32_t ssrc, 151 bool SetRtpSendParameters(uint32_t ssrc,
152 const webrtc::RtpParameters& parameters) override; 152 const webrtc::RtpParameters& parameters) override;
153 webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const override;
154 bool SetRtpReceiveParameters(
155 uint32_t ssrc,
156 const webrtc::RtpParameters& parameters) override;
153 bool GetSendCodec(VideoCodec* send_codec) override; 157 bool GetSendCodec(VideoCodec* send_codec) override;
154 bool SetSend(bool send) override; 158 bool SetSend(bool send) override;
155 bool SetVideoSend(uint32_t ssrc, 159 bool SetVideoSend(uint32_t ssrc,
156 bool mute, 160 bool mute,
157 const VideoOptions* options) override; 161 const VideoOptions* options) override;
158 bool AddSendStream(const StreamParams& sp) override; 162 bool AddSendStream(const StreamParams& sp) override;
159 bool RemoveSendStream(uint32_t ssrc) override; 163 bool RemoveSendStream(uint32_t ssrc) override;
160 bool AddRecvStream(const StreamParams& sp) override; 164 bool AddRecvStream(const StreamParams& sp) override;
161 bool AddRecvStream(const StreamParams& sp, bool default_stream); 165 bool AddRecvStream(const StreamParams& sp, bool default_stream);
162 bool RemoveRecvStream(uint32_t ssrc) override; 166 bool RemoveRecvStream(uint32_t ssrc) override;
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 // TODO(deadbeef): Don't duplicate information between 540 // TODO(deadbeef): Don't duplicate information between
537 // send_params/recv_params, rtp_extensions, options, etc. 541 // send_params/recv_params, rtp_extensions, options, etc.
538 VideoSendParameters send_params_; 542 VideoSendParameters send_params_;
539 VideoOptions default_send_options_; 543 VideoOptions default_send_options_;
540 VideoRecvParameters recv_params_; 544 VideoRecvParameters recv_params_;
541 }; 545 };
542 546
543 } // namespace cricket 547 } // namespace cricket
544 548
545 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ 549 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/mediachannel.h ('k') | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698