change(ui) - peerjs iceserver env config added transport
This commit is contained in:
parent
069d7a2338
commit
4b9f8bdf8e
1 changed files with 3 additions and 0 deletions
|
|
@ -221,6 +221,9 @@ export const iceServerConfigFromString = (str) => {
|
|||
server.username = arr[1]
|
||||
if (!!arr[2]) {
|
||||
server.password = arr[2]
|
||||
if (!!arr[3]) {
|
||||
server.transport = arr[3]
|
||||
}
|
||||
}
|
||||
}
|
||||
return server
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue