mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Explicitly initialize the SctpTransportState to kNew
Bug: webrtc:15814 Change-Id: I94325979777741a2798e1bfac3474bcc364592bd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/341020 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Victor Boivie <boivie@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41869}
This commit is contained in:
parent
d055f77276
commit
b41f07bc51
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class RTC_EXPORT SctpTransportInformation {
|
||||||
absl::optional<int> MaxChannels() const { return max_channels_; }
|
absl::optional<int> MaxChannels() const { return max_channels_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SctpTransportState state_;
|
SctpTransportState state_ = SctpTransportState::kNew;
|
||||||
rtc::scoped_refptr<DtlsTransportInterface> dtls_transport_;
|
rtc::scoped_refptr<DtlsTransportInterface> dtls_transport_;
|
||||||
absl::optional<double> max_message_size_;
|
absl::optional<double> max_message_size_;
|
||||||
absl::optional<int> max_channels_;
|
absl::optional<int> max_channels_;
|
||||||
|
|
Loading…
Reference in a new issue