feat(streams): add on-demand live request accept end and playback token APIs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user