Methods
acceptInterpret
- acceptInterpret(socketId: string, booth: InterpretBooth): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
Returns Promise<void>
joinBooth
- joinBooth(socketId: string, booth: InterpretBooth): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
Returns Promise<void>
leaveBooth
- leaveBooth(socketId: string, booth: InterpretBooth): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
Returns Promise<void>
messageBooth
- messageBooth(socketId: string, booth: InterpretBooth, message: string): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
-
message: string
Returns Promise<void>
requestInterpreter
- requestInterpreter(socketId: string, booth: InterpretBooth, duration: number): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
-
duration: number
Returns Promise<void>
sendAudio
- sendAudio(socketId: string, rawData: Buffer): Promise<void>
-
Parameters
-
socketId: string
-
rawData: Buffer
Returns Promise<void>
socketDisconnected
- socketDisconnected(socketId: string): Promise<void>
-
Returns Promise<void>
startInterpret
- startInterpret(socketId: string, booth: InterpretBooth): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
Returns Promise<void>
stopInterpret
- stopInterpret(socketId: string, booth: InterpretBooth): Promise<void>
-
Parameters
-
socketId: string
-
booth: InterpretBooth
Returns Promise<void>