File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable prettier/prettier */
12import { EventEmitter } from "node:events" ;
23
34let currentId = 0 ;
45
56export class FFMPEG extends EventEmitter {
6- id : number ;
7+ readonly id : number ;
78 constructor ( ) {
89 super ( ) ;
910 this . id = currentId ++ ;
Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments