-
Is there a way to manually "complete" ice gathering? I have a local <=> local webrtc project I'm testing right now that does not need ice support (and does not support candidate negotiation at the moment). In pion, this is called webrtc.GatheringCompletePromise |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Hi @clone1018, I don't think we have something similar to what pion has. Once the gathering process is completed, you will be notified with If you take a look at Does it help? Also, what do you mean by saying that your project does not need candidate negotiation. You have to exchange at least one candidate, even when running locally 🤔 |
Beta Was this translation helpful? Give feedback.
-
It's also important that we don't include ICE candidates in our offer right now so you always have to send them separately |
Beta Was this translation helpful? Give feedback.
-
Looks like this feature, i.e. including ice candidates in the offer might also be needed for WHIP/WHEP implementation |
Beta Was this translation helpful? Give feedback.
Thanks for the info! Since the candidates are not in the default answer, that makes total sense. For anyone else following along, this is the code I ended up with to gather the candidates and inject them into the SDP answer: