Skip to content

Gathering all ICE candidates into one SDP response #218

Answered by k0nserv
LeoDog896 asked this question in Q&A
Discussion options

You must be logged in to vote

Many of the examples do this via gathering_complete_promise, .e.g the reflect example

peer_connection.gathering_complete_promise().await

Keep in mind that you have to call create_answer before awaiting this future because candidate gathering only starts at that point.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LeoDog896
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants