diff --git a/plugins/prebuffer-mixin/src/file-rtsp-server.ts b/plugins/prebuffer-mixin/src/file-rtsp-server.ts index df908d1dbc..f04a2bc869 100644 --- a/plugins/prebuffer-mixin/src/file-rtsp-server.ts +++ b/plugins/prebuffer-mixin/src/file-rtsp-server.ts @@ -57,13 +57,14 @@ export class FileRtspServer extends RtspServer { truncateWriteStream = fs.createWriteStream(undefined, { fd, }) + // this.writeConsole?.log('truncating', truncate); } catch (e) { throw e; } } catch (e) { - this.writeConsole?.error('RTSP WRITE error renaming truncate file', truncate); + this.writeConsole?.error('RTSP WRITE error during truncate file', truncate, e); } }