Skip to content

Commit c92a06a

Browse files
[wip] fixup
1 parent e33d90a commit c92a06a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/models/ffmpeg.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
/* eslint-disable prettier/prettier */
12
import { EventEmitter } from "node:events";
23

34
let currentId = 0;
45

56
export class FFMPEG extends EventEmitter {
6-
id: number;
7+
readonly id: number;
78
constructor() {
89
super();
910
this.id = currentId++;

src/models/recorder.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ export class Recorder extends EventEmitter {
4343
**/
4444
isTranscribing: boolean = false;
4545
state: RECORDER_STATE = RECORDER_STATE.STOPPED;
46-
private channel: Channel;
4746
private folder?: Folder;
48-
private tasks = new Map<SessionId, RecordingTask>();
47+
private readonly channel: Channel;
48+
private readonly tasks = new Map<SessionId, RecordingTask>();
4949
/** Path to which the final recording will be uploaded to */
50-
private metaData: Metadata = {
50+
private readonly metaData: Metadata = {
5151
uploadAddress: "",
5252
timeStamps: {}
5353
};

0 commit comments

Comments
 (0)