mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 00:58:34 +00:00
support set ms stt azureSttEndpointId from recognizer
This commit is contained in:
@@ -560,6 +560,7 @@ module.exports = (logger) => {
|
|||||||
}),
|
}),
|
||||||
...(sttCredentials.use_custom_stt && sttCredentials.custom_stt_endpoint &&
|
...(sttCredentials.use_custom_stt && sttCredentials.custom_stt_endpoint &&
|
||||||
{AZURE_SERVICE_ENDPOINT_ID: sttCredentials.custom_stt_endpoint}),
|
{AZURE_SERVICE_ENDPOINT_ID: sttCredentials.custom_stt_endpoint}),
|
||||||
|
...(rOpts.azureSttEndpointId && {AZURE_SERVICE_ENDPOINT_ID: rOpts.azureSttEndpointId}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else if ('nuance' === vendor) {
|
else if ('nuance' === vendor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user