mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-29 04:28:43 +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
|
||||
*/
|
||||
export function WebhookReporter() {
|
||||
export function WatchPartyReporter() {
|
||||
const { statusHistory, latestStatus } = usePlayerStatusPolling(5); // Keep last 5 status points
|
||||
const lastReportTime = useRef<number>(0);
|
||||
const lastReportedStateRef = useRef<string>("");
|
||||
Loading…
Reference in a new issue