mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2025-12-19 09:17:45 +00:00
fix: return empty deepgram transcripts that signify an endpoint
Signed-off-by: Dave Horton <daveh@beachdognet.com>
This commit is contained in:
@@ -84,7 +84,8 @@ namespace {
|
||||
return false;
|
||||
}
|
||||
|
||||
static const char* emptyTranscript = "{\"alternatives\":[{\"transcript\":\"\",\"confidence\":0.0,\"words\":[]}]}";
|
||||
static const char* emptyTranscript =
|
||||
"\"is_final\":false,\"speech_final\":false,\"channel\":{\"alternatives\":[{\"transcript\":\"\",\"confidence\":0.0,\"words\":[]}]}";
|
||||
|
||||
static void reaper(private_t *tech_pvt) {
|
||||
std::shared_ptr<deepgram::AudioPipe> pAp;
|
||||
|
||||
Reference in New Issue
Block a user