openvidu-testapp: default STT lang to 'en-US'

pull/748/head
pabloFuente 2022-10-24 14:16:46 +02:00
parent 5a9954c614
commit ce869588ec
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ export class VideoComponent implements OnInit, OnDestroy {
async speechToText() { async speechToText() {
if (this.captionIcon === 'closed_caption') { if (this.captionIcon === 'closed_caption') {
await this.streamManager.stream.session.subscribeToSpeechToText(this.streamManager.stream, 'es'); await this.streamManager.stream.session.subscribeToSpeechToText(this.streamManager.stream, 'en-US');
} else { } else {
await this.streamManager.stream.session.unsubscribeFromSpeechToText(this.streamManager.stream); await this.streamManager.stream.session.unsubscribeFromSpeechToText(this.streamManager.stream);
} }