feat(streams): add on-demand live request accept end and playback token APIs

This commit is contained in:
2026-01-14 17:35:00 +00:00
parent dc9c7df567
commit 7a39112ef4
3 changed files with 402 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import devicesRoutes from './routes/devices';
import deviceLinksRoutes from './routes/device-links';
import commandsRoutes from './routes/commands';
import eventsRoutes from './routes/events';
import streamsRoutes from './routes/streams';
import { setupRealtimeGateway } from './realtime/gateway';
import { ensureMinioBucket } from './utils/minio';
@@ -36,6 +37,7 @@ app.use('/devices', devicesRoutes);
app.use('/device-links', deviceLinksRoutes);
app.use('/commands', commandsRoutes);
app.use('/events', eventsRoutes);
app.use('/streams', streamsRoutes);
app.use((err: unknown, _req: express.Request, res: express.Response, _next: express.NextFunction) => {
console.error(err);