style: format recorder modules

This commit is contained in:
MythEclipse
2026-05-13 15:56:56 +07:00
parent dbe593c6fd
commit f655daa0c7
3 changed files with 15 additions and 5 deletions
+4 -1
View File
@@ -33,7 +33,10 @@ export class SegmentManager {
open(oggPacketStream: NodeJS.ReadableStream): SegmentState {
const index = this.segmentIndex++;
const startTime = Date.now();
const { filename, jsonFilename } = buildSegmentPaths(this.userDir, startTime);
const { filename, jsonFilename } = buildSegmentPaths(
this.userDir,
startTime,
);
const oggStream = new prism.opus.OggLogicalBitstream({
opusHead: new prism.opus.OpusHead({ channelCount: 2, sampleRate: 48000 }),
pageSizeControl: { maxPackets: 10 },