Skip to content

Commit ebb1b5d

Browse files
committed
Добавлен turn сервер
1 parent 88b34f8 commit ebb1b5d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

web/static/scripts/chat/calls/PeerConnection.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
const ICE = [{ urls: "stun:stun.l.google.com:19302" }];
1+
const ICE = [
2+
{ urls: "stun:stun.l.google.com:19302" },
3+
{
4+
urls: ["turn:turn.falbue.ru:3478", "turns:turn.falbue.ru:5349"],
5+
username: "lime",
6+
credential: "live-message",
7+
},
8+
];
9+
210

311
export class PeerConnection {
412
constructor(remoteUid, onIce, onTrack) {

0 commit comments

Comments
 (0)