fix: jenin changes

This commit is contained in:
2026-02-06 23:45:24 +01:00
parent a0cabbfa63
commit 7456e80473
3 changed files with 2 additions and 5 deletions

View File

@@ -181,12 +181,14 @@ app.get(
isBot: ws.chatUser.isBot || false,
},
message,
msgId: `${crypto.randomUUID()}`
};
const redisObj = {
user: msgObj.user,
message: msgObj.message,
type: 'message',
msgId: `${crypto.randomUUID()}`,
};
const redisStr = JSON.stringify(redisObj);

View File

@@ -33,7 +33,6 @@ export async function GET(request: NextRequest) {
},
take: 50,
});
console.log(channels)
return Response.json(channels);
}

View File

@@ -50,10 +50,6 @@ export async function initializeStreamInfo(channelId?: string) {
export async function syncStream() {
try {
if (!process.env.MEDIAMTX_API) {
console.error('MEDIAMTX_API environment variable is not set');
return;
}
const regions = Object.keys(MEDIAMTX_SERVER_REGIONS) as Array<
keyof typeof MEDIAMTX_SERVER_REGIONS
>;