Updates to the Deepgram constructor to use ?? instead of ||. This change makes the SDK compatible with onprem for streaming (batch needs additional updates). The apiUrl could probably be left as ||, but requireSSL needs to be the "nullish coalescing" operator ?? as otherwise if set to "False" for the onprem case the || operator will still default to the default option.
Updates to the Deepgram constructor to use
??
instead of||
. This change makes the SDK compatible with onprem for streaming (batch needs additional updates). TheapiUrl
could probably be left as||
, butrequireSSL
needs to be the "nullish coalescing" operator??
as otherwise if set to "False" for the onprem case the||
operator will still default to the default option.