mobile: update webrtc ICE servers (#782)

* mobile: update webrtc ICE servers

* update webrtc package version
This commit is contained in:
Evgeny Poberezkin authored and GitHub committed 2022-07-06 11:52:25 +01:00
1 parent ab6301c3e9
commit 6b89eb872b
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@simplex-chat/webrtc",
"version": "0.0.5",
"version": "0.1.0",
"description": "WebRTC call in browser and webview for SimpleX Chat clients",
"main": "dist/call.js",
"types": "dist/call.d.ts",
+2 -2
View File
@@ -217,8 +217,8 @@ const processCommand = (function () {
}
const defaultIceServers: RTCIceServer[] = [
{urls: ["stun:stun.simplex.chat:5349"]},
{urls: ["turn:turn.simplex.chat:5349"], username: "private", credential: "yleob6AVkiNI87hpR94Z"},
{urls: ["stun:stun.simplex.im:5349"]},
{urls: ["turn:turn.simplex.im:5349"], username: "private", credential: "yleob6AVkiNI87hpR94Z"},
]
function getCallConfig(encodedInsertableStreams: boolean, iceServers?: RTCIceServer[], relay?: boolean): CallConfig {