diff --git a/services/mam-api/src/routes/recorders.js b/services/mam-api/src/routes/recorders.js index 95618b4..a4774cf 100644 --- a/services/mam-api/src/routes/recorders.js +++ b/services/mam-api/src/routes/recorders.js @@ -285,7 +285,7 @@ router.post('/:id/start', async (req, res, next) => { // live-asset: create the asset row right now (status='live') so the library // shows the recording while it is happening. The capture container will // tee an HLS stream into /live//. - const assetIdLive = (await import('uuid')).v4(); + const assetIdLive = uuidv4(); try { await pool.query( `INSERT INTO assets (