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_; |