mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
feat: allow update azure endpoint ID from recognizer property (#612)
This commit is contained in:
@@ -560,6 +560,9 @@ 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}),
|
||||||
|
//azureSttEndpointId overrides 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