R
R
roman99662016-05-13 12:45:12
JavaScript
roman9966, 2016-05-13 12:45:12

How to track that all ice candidates have been added?

How to track that all ice candidates are added? There used to be an icegatheringstatechange event, but now, as I understand it, it has been removed. What other options are there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
roman9966, 2016-05-13
@roman9966

When the last ice candidate is added, the icegatheringstate changes to complete. Therefore, we can hang an event on adding an ice candidate and check if the icegatheringstate has changed to complete.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question