Gathering all ICE candidates into one SDP response #218
Answered
by
k0nserv
tristan-f-r
asked this question in
Q&A
-
How can I gather all the ice candidates before sending the SDP data? |
Beta Was this translation helpful? Give feedback.
Answered by
k0nserv
Jul 11, 2022
Replies: 1 comment
-
Many of the examples do this via peer_connection.gathering_complete_promise().await Keep in mind that you have to call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tristan-f-r
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Many of the examples do this via
gathering_complete_promise
, .e.g the reflect exampleKeep in mind that you have to call
create_answer
before awaiting this future because candidate gathering only starts at that point.