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

Unified Diff: talk/media/base/rtpdataengine.h

Issue 1327933002: Full impl of NnChannel::SetSendParameters and NnChannel::SetRecvParameters (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 3 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 | « talk/media/base/mediachannel.h ('k') | talk/media/base/rtpdataengine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/rtpdataengine.h
diff --git a/talk/media/base/rtpdataengine.h b/talk/media/base/rtpdataengine.h
index 6f47c5b4bb649bf6761fabf16c54783cad1dd170..211b0dc91d839eb52bb176a013aa47e2c4947c46 100644
--- a/talk/media/base/rtpdataengine.h
+++ b/talk/media/base/rtpdataengine.h
@@ -96,13 +96,8 @@ class RtpDataMediaChannel : public DataMediaChannel {
timing_ = timing;
}
- virtual bool SetMaxSendBandwidth(int bps);
- virtual bool SetRecvRtpHeaderExtensions(
- const std::vector<RtpHeaderExtension>& extensions) { return true; }
- virtual bool SetSendRtpHeaderExtensions(
- const std::vector<RtpHeaderExtension>& extensions) { return true; }
- virtual bool SetSendCodecs(const std::vector<DataCodec>& codecs);
- virtual bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
+ virtual bool SetSendParameters(const DataSendParameters& params);
+ virtual bool SetRecvParameters(const DataRecvParameters& params);
virtual bool AddSendStream(const StreamParams& sp);
virtual bool RemoveSendStream(uint32 ssrc);
virtual bool AddRecvStream(const StreamParams& sp);
@@ -127,6 +122,9 @@ class RtpDataMediaChannel : public DataMediaChannel {
private:
void Construct(rtc::Timing* timing);
+ bool SetMaxSendBandwidth(int bps);
+ bool SetSendCodecs(const std::vector<DataCodec>& codecs);
+ bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
bool sending_;
bool receiving_;
« no previous file with comments | « talk/media/base/mediachannel.h ('k') | talk/media/base/rtpdataengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698