Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Fix data channel before connect #11

Merged
merged 4 commits into from
Jul 9, 2019
Merged

Conversation

djee-ms
Copy link
Member

@djee-ms djee-ms commented Jul 8, 2019

Ensure that data channel can be created after the peer connection is initialized but before starting the SDP connection handshake, so that the later can integrate SCTP handshake. Otherwise there is no way to use data channels.

Return some error codes from C/C++ and transform those into exceptions in C#. This fixes a NULL pointer dereferencing in TestAppUWP, which only handles exceptions.

djee-ms added 3 commits July 8, 2019 16:53
Ensure that the SCTP negotiating is only preventing
`AddDataChannelAsync` after the connection started, and not before,
which is the only way to effectively ensure it occurs.
@djee-ms djee-ms added the bug Something isn't working label Jul 8, 2019
@djee-ms djee-ms added this to the Initial public preview milestone Jul 8, 2019
@djee-ms djee-ms requested a review from stephenatwork July 8, 2019 16:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants