aboutsummaryrefslogtreecommitdiff
path: root/pc/data_channel_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'pc/data_channel_controller.h')
-rw-r--r--pc/data_channel_controller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pc/data_channel_controller.h b/pc/data_channel_controller.h
index 4c42b8a345..05fcff0e03 100644
--- a/pc/data_channel_controller.h
+++ b/pc/data_channel_controller.h
@@ -53,7 +53,8 @@ class DataChannelController : public SctpDataChannelProviderInterface,
// Implements
// SctpDataChannelProviderInterface.
- bool SendData(const cricket::SendDataParams& params,
+ bool SendData(int sid,
+ const SendDataParams& params,
const rtc::CopyOnWriteBuffer& payload,
cricket::SendDataResult* result) override;
bool ConnectDataChannel(SctpDataChannel* webrtc_data_channel) override;
@@ -131,7 +132,8 @@ class DataChannelController : public SctpDataChannelProviderInterface,
RTC_RUN_ON(signaling_thread());
// Called from SendData when data_channel_transport() is true.
- bool DataChannelSendData(const cricket::SendDataParams& params,
+ bool DataChannelSendData(int sid,
+ const SendDataParams& params,
const rtc::CopyOnWriteBuffer& payload,
cricket::SendDataResult* result);