diff options
Diffstat (limited to 'media/sctp/sctp_transport_internal.h')
-rw-r--r-- | media/sctp/sctp_transport_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/sctp/sctp_transport_internal.h b/media/sctp/sctp_transport_internal.h index dc8ac4558d..96c35ffb93 100644 --- a/media/sctp/sctp_transport_internal.h +++ b/media/sctp/sctp_transport_internal.h @@ -18,6 +18,7 @@ #include <string> #include <vector> +#include "api/transport/data_channel_transport_interface.h" #include "rtc_base/copy_on_write_buffer.h" #include "rtc_base/thread.h" // For SendDataParams/ReceiveDataParams. @@ -101,7 +102,8 @@ class SctpTransportInternal { // usrsctp that will then post the network interface). // Returns true iff successful data somewhere on the send-queue/network. // Uses |params.ssrc| as the SCTP sid. - virtual bool SendData(const SendDataParams& params, + virtual bool SendData(int sid, + const webrtc::SendDataParams& params, const rtc::CopyOnWriteBuffer& payload, SendDataResult* result = nullptr) = 0; |