Stop playback metrics on player unmount
This commit is contained in:
@@ -291,6 +291,7 @@ export const OwncastPlayer: FC<OwncastPlayerProps> = ({ source, online }) => {
|
||||
useEffect(
|
||||
() => () => {
|
||||
stopLatencyCompensator();
|
||||
playbackMetrics.stop();
|
||||
},
|
||||
[],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user