This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Open
Conversation
… check in its constructor
Contributor
Author
|
Also fixes a minor compatibility issue raised in #755. |
aboba
approved these changes
Sep 25, 2017
Somehow missed that we're talking about SctpTransport, not RtpSender. Nevermind, you're correct. |
Contributor
Author
|
@aboba @robin-raymond Any comments to 3? Do you agree with @taylor-b and me? |
Contributor
Author
|
Any action needed from my side to get this merged (other than the conflict that appeared in the meantime 🙂)? |
Contributor
Author
|
Ping. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These changes add a
setTransportto the SCTP transport to allow seemless changing of the underlying DTLS transport. It also adds a missing state check for the DTLS transport instance on construction.Some questions are left:
1. DTLS transport state on construction/
setTransportWhen constructing an instance that requires a DTLS transport, the description is:
Shouldn't the
failedstate be covered by the description, too? (The same would need to be applied to the description ofsetTransport.)Answer: No.
2.
statevs.ObjectNameStateI've seen that in the
RTCSctpTransportto reference the current active state,RTCSctpTransportStateis being used instead of juststate(to refer the local attribute) as in theRTCQuicTransport.startmethod. Should we unify this for consistency (and by which method)?3. DTLS transport component check
Do we need a
dtlsTransport.transport.componentcheck on construction of the SCTP transport (and on callingsetTransport)? If thecomponentis notrtp, this should be an error, right?