mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-20 20:32:06 +00:00
move and rename watchparty reporter
This commit is contained in:
parent
cfcca03d69
commit
0399276c4f
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export const emitValidationStatus = (success: boolean) => {
|
||||||
/**
|
/**
|
||||||
* Component that sends player status to the backend when watch party is enabled
|
* Component that sends player status to the backend when watch party is enabled
|
||||||
*/
|
*/
|
||||||
export function WebhookReporter() {
|
export function WatchPartyReporter() {
|
||||||
const { statusHistory, latestStatus } = usePlayerStatusPolling(5); // Keep last 5 status points
|
const { statusHistory, latestStatus } = usePlayerStatusPolling(5); // Keep last 5 status points
|
||||||
const lastReportTime = useRef<number>(0);
|
const lastReportTime = useRef<number>(0);
|
||||||
const lastReportedStateRef = useRef<string>("");
|
const lastReportedStateRef = useRef<string>("");
|
||||||
Loading…
Reference in a new issue