openvidu-browser: fix RPC calls to STT (param connetionIds to connectionId)

pull/758/head
pabloFuente 2022-11-07 14:14:25 +01:00
parent 0d73bdc462
commit 6bc8c31af1
1 changed files with 2 additions and 2 deletions

View File

@ -659,7 +659,7 @@ export class Session extends EventDispatcher {
this.openvidu.sendRequest(
'subscribeToSpeechToText',
{
connectionIds: [stream.connection.connectionId],
connectionId: stream.connection.connectionId,
lang
},
(error, response) => {
@ -684,7 +684,7 @@ export class Session extends EventDispatcher {
this.openvidu.sendRequest(
'unsubscribeFromSpeechToText',
{
connectionIds: [stream.connection.connectionId]
connectionId: stream.connection.connectionId
},
(error, response) => {
if (!!error) {