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

Side by Side Diff: webrtc/api/webrtcsession.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/api/rtpsenderreceiver_unittest.cc ('k') | webrtc/api/webrtcsession.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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // AudioMediaProviderInterface implementation. 236 // AudioMediaProviderInterface implementation.
237 void SetAudioPlayout(uint32_t ssrc, bool enable) override; 237 void SetAudioPlayout(uint32_t ssrc, bool enable) override;
238 void SetAudioSend(uint32_t ssrc, 238 void SetAudioSend(uint32_t ssrc,
239 bool enable, 239 bool enable,
240 const cricket::AudioOptions& options, 240 const cricket::AudioOptions& options,
241 cricket::AudioSource* source) override; 241 cricket::AudioSource* source) override;
242 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; 242 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override;
243 void SetRawAudioSink(uint32_t ssrc, 243 void SetRawAudioSink(uint32_t ssrc,
244 std::unique_ptr<AudioSinkInterface> sink) override; 244 std::unique_ptr<AudioSinkInterface> sink) override;
245 245
246 RtpParameters GetAudioRtpParameters(uint32_t ssrc) const override; 246 RtpParameters GetAudioRtpSendParameters(uint32_t ssrc) const override;
247 bool SetAudioRtpParameters(uint32_t ssrc, 247 bool SetAudioRtpSendParameters(uint32_t ssrc,
248 const RtpParameters& parameters) override; 248 const RtpParameters& parameters) override;
249 RtpParameters GetAudioRtpReceiveParameters(uint32_t ssrc) const override;
250 bool SetAudioRtpReceiveParameters(uint32_t ssrc,
251 const RtpParameters& parameters) override;
249 252
250 // Implements VideoMediaProviderInterface. 253 // Implements VideoMediaProviderInterface.
251 bool SetSource( 254 bool SetSource(
252 uint32_t ssrc, 255 uint32_t ssrc,
253 rtc::VideoSourceInterface<cricket::VideoFrame>* source) override; 256 rtc::VideoSourceInterface<cricket::VideoFrame>* source) override;
254 void SetVideoPlayout( 257 void SetVideoPlayout(
255 uint32_t ssrc, 258 uint32_t ssrc,
256 bool enable, 259 bool enable,
257 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override; 260 rtc::VideoSinkInterface<cricket::VideoFrame>* sink) override;
258 void SetVideoSend(uint32_t ssrc, 261 void SetVideoSend(uint32_t ssrc,
259 bool enable, 262 bool enable,
260 const cricket::VideoOptions* options) override; 263 const cricket::VideoOptions* options) override;
261 264
262 RtpParameters GetVideoRtpParameters(uint32_t ssrc) const override; 265 RtpParameters GetVideoRtpSendParameters(uint32_t ssrc) const override;
263 bool SetVideoRtpParameters(uint32_t ssrc, 266 bool SetVideoRtpSendParameters(uint32_t ssrc,
264 const RtpParameters& parameters) override; 267 const RtpParameters& parameters) override;
268 RtpParameters GetVideoRtpReceiveParameters(uint32_t ssrc) const override;
269 bool SetVideoRtpReceiveParameters(uint32_t ssrc,
270 const RtpParameters& parameters) override;
265 271
266 // Implements DtmfProviderInterface. 272 // Implements DtmfProviderInterface.
267 bool CanInsertDtmf(const std::string& track_id) override; 273 bool CanInsertDtmf(const std::string& track_id) override;
268 bool InsertDtmf(const std::string& track_id, 274 bool InsertDtmf(const std::string& track_id,
269 int code, int duration) override; 275 int code, int duration) override;
270 sigslot::signal0<>* GetOnDestroyedSignal() override; 276 sigslot::signal0<>* GetOnDestroyedSignal() override;
271 277
272 // Implements DataChannelProviderInterface. 278 // Implements DataChannelProviderInterface.
273 bool SendData(const cricket::SendDataParams& params, 279 bool SendData(const cricket::SendDataParams& params,
274 const rtc::CopyOnWriteBuffer& payload, 280 const rtc::CopyOnWriteBuffer& payload,
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 PeerConnectionInterface::BundlePolicy bundle_policy_; 516 PeerConnectionInterface::BundlePolicy bundle_policy_;
511 517
512 // Declares the RTCP mux policy for the WebRTCSession. 518 // Declares the RTCP mux policy for the WebRTCSession.
513 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 519 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
514 520
515 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 521 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
516 }; 522 };
517 } // namespace webrtc 523 } // namespace webrtc
518 524
519 #endif // WEBRTC_API_WEBRTCSESSION_H_ 525 #endif // WEBRTC_API_WEBRTCSESSION_H_
OLDNEW
« no previous file with comments | « webrtc/api/rtpsenderreceiver_unittest.cc ('k') | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698