diff options
Diffstat (limited to 'client/src/assets/player/peertube-videojs-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 30ef7c49c..c54d8b5ea 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -161,6 +161,11 @@ const peertubePlugin = function (options: PeertubePluginOptions) { | |||
161 | player.torrent.on('warning', err => { | 161 | player.torrent.on('warning', err => { |
162 | // We don't support HTTP tracker but we don't care -> we use the web socket tracker | 162 | // We don't support HTTP tracker but we don't care -> we use the web socket tracker |
163 | if (err.message.indexOf('Unsupported tracker protocol: http') !== -1) return | 163 | if (err.message.indexOf('Unsupported tracker protocol: http') !== -1) return |
164 | // Users don't care about issues with WebRTC, but developers do so log it in the console | ||
165 | if (err.message.indexOf('Ice connection failed') !== -1) { | ||
166 | console.error(err) | ||
167 | return | ||
168 | } | ||
164 | 169 | ||
165 | return handleError(err) | 170 | return handleError(err) |
166 | }) | 171 | }) |