mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
fail silently when no codces are found (#3142)
Co-authored-by: janWilejan <>
This commit is contained in:
parent
f2d9d407c3
commit
185123dab2
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class PlaybackMetrics {
|
||||||
const tech = this.player.tech({ IWillNotUseThisInPlugins: true });
|
const tech = this.player.tech({ IWillNotUseThisInPlugins: true });
|
||||||
this.supportsDetailedMetrics = !!tech;
|
this.supportsDetailedMetrics = !!tech;
|
||||||
|
|
||||||
tech.on('usage', e => {
|
tech?.on('usage', e => {
|
||||||
if (e.name === 'vhs-unknown-waiting') {
|
if (e.name === 'vhs-unknown-waiting') {
|
||||||
this.setIsBuffering(true);
|
this.setIsBuffering(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue