mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: fix RPC calls to STT (param connetionIds to connectionId)
parent
0d73bdc462
commit
6bc8c31af1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue