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

Unified Diff: webrtc/pc/channel.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channel.h
diff --git a/webrtc/pc/channel.h b/webrtc/pc/channel.h
index df75245f276d039b7af827f3470eda152a0c4e18..f31a4d81301afd686409517150accf82eca7da91 100644
--- a/webrtc/pc/channel.h
+++ b/webrtc/pc/channel.h
@@ -403,8 +403,12 @@ class VoiceChannel : public BaseChannel {
bool SetOutputVolume(uint32_t ssrc, double volume);
void SetRawAudioSink(uint32_t ssrc,
std::unique_ptr<webrtc::AudioSinkInterface> sink);
- webrtc::RtpParameters GetRtpParameters(uint32_t ssrc) const;
- bool SetRtpParameters(uint32_t ssrc, const webrtc::RtpParameters& parameters);
+ webrtc::RtpParameters GetRtpSendParameters(uint32_t ssrc) const;
+ bool SetRtpSendParameters(uint32_t ssrc,
+ const webrtc::RtpParameters& parameters);
+ webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const;
+ bool SetRtpReceiveParameters(uint32_t ssrc,
+ const webrtc::RtpParameters& parameters);
// Get statistics about the current media session.
bool GetStats(VoiceMediaInfo* stats);
@@ -425,8 +429,11 @@ class VoiceChannel : public BaseChannel {
int GetInputLevel_w();
int GetOutputLevel_w();
void GetActiveStreams_w(AudioInfo::StreamList* actives);
- webrtc::RtpParameters GetRtpParameters_w(uint32_t ssrc) const;
- bool SetRtpParameters_w(uint32_t ssrc, webrtc::RtpParameters parameters);
+ webrtc::RtpParameters GetRtpSendParameters_w(uint32_t ssrc) const;
+ bool SetRtpSendParameters_w(uint32_t ssrc, webrtc::RtpParameters parameters);
+ webrtc::RtpParameters GetRtpReceiveParameters_w(uint32_t ssrc) const;
+ bool SetRtpReceiveParameters_w(uint32_t ssrc,
+ webrtc::RtpParameters parameters);
private:
// overrides from BaseChannel
@@ -504,8 +511,12 @@ class VideoChannel : public BaseChannel {
sigslot::signal2<VideoChannel*, const VideoMediaInfo&> SignalMediaMonitor;
bool SetVideoSend(uint32_t ssrc, bool enable, const VideoOptions* options);
- webrtc::RtpParameters GetRtpParameters(uint32_t ssrc) const;
- bool SetRtpParameters(uint32_t ssrc, const webrtc::RtpParameters& parameters);
+ webrtc::RtpParameters GetRtpSendParameters(uint32_t ssrc) const;
+ bool SetRtpSendParameters(uint32_t ssrc,
+ const webrtc::RtpParameters& parameters);
+ webrtc::RtpParameters GetRtpReceiveParameters(uint32_t ssrc) const;
+ bool SetRtpReceiveParameters(uint32_t ssrc,
+ const webrtc::RtpParameters& parameters);
private:
// overrides from BaseChannel
@@ -518,8 +529,11 @@ class VideoChannel : public BaseChannel {
ContentAction action,
std::string* error_desc) override;
bool GetStats_w(VideoMediaInfo* stats);
- webrtc::RtpParameters GetRtpParameters_w(uint32_t ssrc) const;
- bool SetRtpParameters_w(uint32_t ssrc, webrtc::RtpParameters parameters);
+ webrtc::RtpParameters GetRtpSendParameters_w(uint32_t ssrc) const;
+ bool SetRtpSendParameters_w(uint32_t ssrc, webrtc::RtpParameters parameters);
+ webrtc::RtpParameters GetRtpReceiveParameters_w(uint32_t ssrc) const;
+ bool SetRtpReceiveParameters_w(uint32_t ssrc,
+ webrtc::RtpParameters parameters);
void OnMessage(rtc::Message* pmsg) override;
void GetSrtpCryptoSuites_n(std::vector<int>* crypto_suites) const override;
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698