Roderic Day пре 5 година
родитељ
комит
fe6b4b7c86
1 измењених фајлова са 5 додато и 1 уклоњено
  1. +5
    -1
      apps/streams.js

+ 5
- 1
apps/streams.js Прегледај датотеку

@@ -42,7 +42,11 @@ const updateOtherVideo = (target, dom) => {
dom.srcObject = new MediaStream()
let rpc = null

const rpcConfig = {iceServers: [{urls: 'stun:stun.sipgate.net:3478'}]}
const rpcConfig = {iceServers: [{
urls: ['stun:stun.pico.chat:5349', 'turn:turn.pico.chat:5349'],
username: 'roderic',
credential: 'tomodachi',
}]}

const stopRpc = () => {
rpc && rpc.close()

Loading…
Откажи
Сачувај