ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't throw error on ice connection failed
Chocobozzz7dbdc3bace5f
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.tsindex 30ef7c49c6..c54d8b5ea3 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) {player.torrent.on('warning', err => {// We don't support HTTP tracker but we don't care -> we use the web socket trackerif (err.message.indexOf('Unsupported tracker protocol: http') !== -1) return+ // Users don't care about issues with WebRTC, but developers do so log it in the console+ if (err.message.indexOf('Ice connection failed') !== -1) {+ console.error(err)+ return+ }return handleError(err)})