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(
|
this.openvidu.sendRequest(
|
||||||
'subscribeToSpeechToText',
|
'subscribeToSpeechToText',
|
||||||
{
|
{
|
||||||
connectionIds: [stream.connection.connectionId],
|
connectionId: stream.connection.connectionId,
|
||||||
lang
|
lang
|
||||||
},
|
},
|
||||||
(error, response) => {
|
(error, response) => {
|
||||||
|
@ -684,7 +684,7 @@ export class Session extends EventDispatcher {
|
||||||
this.openvidu.sendRequest(
|
this.openvidu.sendRequest(
|
||||||
'unsubscribeFromSpeechToText',
|
'unsubscribeFromSpeechToText',
|
||||||
{
|
{
|
||||||
connectionIds: [stream.connection.connectionId]
|
connectionId: stream.connection.connectionId
|
||||||
},
|
},
|
||||||
(error, response) => {
|
(error, response) => {
|
||||||
if (!!error) {
|
if (!!error) {
|
||||||
|
|
Loading…
Reference in New Issue