File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ export class SttTtsPlugin implements Plugin {
260
260
/**
261
261
* On speaker silence => flush STT => GPT => TTS => push to Janus
262
262
*/
263
- private async processAudio ( userId : UUID ) : Promise < void > {
263
+ private async processAudio ( userId : string ) : Promise < void > {
264
264
if ( this . isProcessingAudio ) {
265
265
return ;
266
266
}
@@ -399,7 +399,7 @@ export class SttTtsPlugin implements Plugin {
399
399
userId : string // This is the raw Twitter user ID like 'tw-1865462035586142208'
400
400
) : Promise < string > {
401
401
// Extract the numeric ID part
402
- const numericId = userId . replace ( ' tw-' , '' ) ;
402
+ const numericId = userId . replace ( " tw-" , "" ) ;
403
403
const roomId = stringToUuid ( `twitter_generate_room-${ this . spaceId } ` ) ;
404
404
405
405
// Create consistent UUID for the user
You can’t perform that action at this time.
0 commit comments