RTCIceServer only able to take one URL string? #1348
Alex-Kupin
started this conversation in
General
Replies: 2 comments 1 reply
-
We're using the interface definition from the WebRTC spec. The exmaple from the spec is below. If you want to add two different ICE servers you need to do it wih two different RTCIceServer list entries. The comma separated urls list in each entry has a different meaning.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
You could also combine it into a string, because it'll get split here: sipsorcery/src/net/ICE/RtpIceChannel.cs Line 1078 in 9c23b58 so server.urls = "turns:turn.example.org,turn:turn.example.net", |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to program a .Net application with WebRTC, I have set up WebRTC in another application using similar infrastructure but it seems like you are only able to put one string in RTCIceServer url field?
In previous implementations you were able to put both your stun and turn in one. Should I just add a new ICE server with the other url?
Documentation isn't super clear on this and the field is called urls even though it only takes one string.
Beta Was this translation helpful? Give feedback.
All reactions