Remove unused variable ReceiveDataParams::seq_num
Bug: none Change-Id: I8c4f8368158dee69ecd48a91a272cc17f18efa63 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297121 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39540}
This commit is contained in:
parent
492296cc3c
commit
1f8169f04b
@ -1003,13 +1003,11 @@ class VideoMediaReceiveChannelInterface : public MediaReceiveChannelInterface {
|
||||
// DataMediaChannel::SignalDataReceived and in all of the signals that
|
||||
// signal fires, on up the chain.
|
||||
struct ReceiveDataParams {
|
||||
// The in-packet stream indentifier.
|
||||
// The in-packet stream identifier.
|
||||
// SCTP data channels use SIDs.
|
||||
int sid = 0;
|
||||
// The type of message (binary, text, or control).
|
||||
webrtc::DataMessageType type = webrtc::DataMessageType::kText;
|
||||
// A per-stream value incremented per packet in the stream.
|
||||
int seq_num = 0;
|
||||
};
|
||||
|
||||
enum SendDataResult { SDR_SUCCESS, SDR_ERROR, SDR_BLOCK };
|
||||
|
||||
@ -463,8 +463,6 @@ void DcSctpTransport::OnMessageReceived(dcsctp::DcSctpMessage message) {
|
||||
<< " on an SCTP packet. Dropping.";
|
||||
}
|
||||
receive_data_params.type = *type;
|
||||
// No seq_num available from dcSCTP
|
||||
receive_data_params.seq_num = 0;
|
||||
receive_buffer_.Clear();
|
||||
if (!IsEmptyPPID(message.ppid()))
|
||||
receive_buffer_.AppendData(message.payload().data(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user