aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-23 16:01:48 +0100
committerChocobozzz <me@florianbigard.com>2018-03-23 16:02:07 +0100
commitd402fb5b7a7c0621b0d679958eb6d3af67e00273 (patch)
treed34ad14dab98d837d7c08ac085b1f0d8e514f0ec /client/src/assets
parent03ae9d887ae46bef62cfd2b46c1d6b0836bea246 (diff)
downloadPeerTube-d402fb5b7a7c0621b0d679958eb6d3af67e00273.tar.gz
PeerTube-d402fb5b7a7c0621b0d679958eb6d3af67e00273.tar.zst
PeerTube-d402fb5b7a7c0621b0d679958eb6d3af67e00273.zip
Update stun servers
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-videojs-plugin.ts19
1 files changed, 18 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts
index f4064c4b2..29b38ee71 100644
--- a/client/src/assets/player/peertube-videojs-plugin.ts
+++ b/client/src/assets/player/peertube-videojs-plugin.ts
@@ -44,7 +44,24 @@ function bytes (value) {
44 44
45// videojs typings don't have some method we need 45// videojs typings don't have some method we need
46const videojsUntyped = videojs as any 46const videojsUntyped = videojs as any
47const webtorrent = new WebTorrent({ dht: false }) 47const webtorrent = new WebTorrent({
48 tracker: {
49 rtcConfig: {
50 iceServers: [
51 {
52 urls: 'stun:stun.stunprotocol.org'
53 },
54 {
55 urls: 'stun:stun.framasoft.org'
56 },
57 {
58 urls: 'stun:stun.l.google.com:19302'
59 }
60 ]
61 }
62 },
63 dht: false
64})
48 65
49const MenuItem: VideoJSComponentInterface = videojsUntyped.getComponent('MenuItem') 66const MenuItem: VideoJSComponentInterface = videojsUntyped.getComponent('MenuItem')
50class ResolutionMenuItem extends MenuItem { 67class ResolutionMenuItem extends MenuItem {