-
Notifications
You must be signed in to change notification settings - Fork 37
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
useless ICE trickle feature in SDK. #67
Comments
Hey "sdpMLineIndex" seems to specify if it is a candidate for audio or video stream. `if (evt.candidate != undefined && evt.candidate.candidate != undefined) {
and on the app I do:
to get the right index. |
of course "sdpMLineIndex" is index audio or video stream, otherwise I won't remind in this topic. |
So you are caching your candidates? We once tried to cache the candidates too, but it did not work. Now we have it working with ICE Trickle on web client but no trickle on iOS. So in iOS all candidates are sent inside the offer/answer and on web we send each candidate as soon as it is created. Now we have stable connections from web2web web2app app2app and app2web. Even without trickle on the iOS client the connection is established really fast (beneath 2 seconds) |
Yeah, when u cache the candidate from handle remote candidate receive if u process before offer or answer, that won't work because NO auth info in candidate. And also the connection speed depends on your network STUN/TURN (the most time I won't set just 1 services) services and network NAT type. |
as the commit #45
did any one using this send each candidate to other peer right now?
this looks all fine, but when u really using this separate the candidate n media info, you will realize for the audio MAY works, but for the video will NOT working at all.
when there are 2 stream we send the candidate 1 by 1, we didnt know which is audio or video!
and take look into the code
index = [remoteCandidate[@"sdpMLineIndex"] intValue];
when added wrong info will take slow pair for candidate and failed!
and one more question for #50
did any one tell me what is
a=ice-options:trickle
that mean, I didn't found it in rfc5245.The text was updated successfully, but these errors were encountered: