call.ts: include udp stun/turn (#1892)
* call.ts: include udp stun/turn * update JS * show protocol, support TURNS * mobile: add turn via UDP, remove protocol from view * remove enums for protocol strings in ICE candidates * 0.2.3 --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
1 parent
af173ee5c4
commit
1eb1e52912
7 files changed
+72
-30
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@simplex-chat/webrtc",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.3",
|
||||
"description": "WebRTC call in browser and webview for SimpleX Chat clients",
|
||||
"main": "dist/call.js",
|
||||
"types": "dist/call.d.ts",
|
||||
|
||||
@@ -218,7 +218,8 @@ const processCommand = (function () {
|
||||
}
|
||||
|
||||
const defaultIceServers: RTCIceServer[] = [
|
||||
{urls: ["stun:stun.simplex.im:443?transport=tcp"]},
|
||||
{urls: ["stun:stun.simplex.im:443"]},
|
||||
{urls: ["turn:turn.simplex.im:443?transport=udp"], username: "private", credential: "yleob6AVkiNI87hpR94Z"},
|
||||
{urls: ["turn:turn.simplex.im:443?transport=tcp"], username: "private", credential: "yleob6AVkiNI87hpR94Z"},
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user