jambonz / jambonz/speech-utils

azure support SpeechSynthesis_FrameTimeoutInterval and SpeechSynthesis_RtfTimeoutThreshold

Open
#137 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
8
Avg merge
35m
Merged PRs (30d)
3

Description

Azure disable streaming should support below properties , this is supported in case of audio streaming using freeswitch

SpeechSynthesis_FrameTimeoutInterval 14101
The timeout interval in milliseconds between synthesized speech audio frames. The greater of this and 10 seconds is used as a hard frame timeout. A speech synthesis timeout occurs if a) the time passed since the latest frame exceeds this timeout interval and the Real-Time Factor (RTF) exceeds its maximum value, or b) the time passed since the latest frame exceeds the hard frame timeout.

SpeechSynthesis_RtfTimeoutThreshold 14102
The maximum Real-Time Factor (RTF) for speech synthesis. The RTF is calculated as RTF = f(d)/d where f(d) is the time taken to synthesize speech audio of duration d.

SpeechSynthesis_RtfTimeoutThreshold
and
SpeechSynthesis_FrameTimeoutInterval

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the Azure disable-streaming handling and the existing FreeSWITCH property mapping, then trace how speech synthesis options are passed through. Done means both SpeechSynthesis_FrameTimeoutInterval and SpeechSynthesis_RtfTimeoutThreshold are accepted and applied for Azure disable-streaming, with coverage for the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, javascript
Domain
audio-video-rtc, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.