-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue #1212 - Candidate with empty string #1428
Conversation
Hey @DevRockstarZ this PR looks really good to me! If you want to reopen I would love to merge this :) I will just squash your work into one commit. Really great work! |
@Sean-Der Thanks for your reply! I closed this PR because I thought you're working on this work in Pion-V3. |
Isn't it hiding the real issue? |
@jsmouret |
You are right @jsmouret thanks for keeping me honest :) So I think this is a two step process
in the contact loop it shouldn't go to failed unless this field has been set. restart should update this field as well.
This is a good amount of work, but I think there is a clear path forward! If anyone is interested in grabbing I can help :) the work done on the tests here is really great, I think we can use as is |
Hey, @Sean-Der I'm reading into this and trying to clarify some stuff. (1st step ICE) I'm reading into 5.6.3 RTCIceGathererState and
I'm assuming the field on the agent that should be set is GatheringState by agent.setGatheringState Since GatheringState is already reset in agent.Restart i think we don't need to update this field. I'm also not too sure where to check this in contact loop. |
What we need to do is
|
@Sean-Der, need some advice how do I store since we sending nil to AddICECandidate do we want to pass nil to ICE or should we create a new func? |
Description
I made the first test code by myself, it can be not perfect 😢
I tested on my local terminal, it passes all the cases.
I created test
PeerConnection
to useAddICECandidate
, and I tested 3 test cases.Thanks for reviewing!
Reference issue
Fixes issue #1212