Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is unimrcp support process the MRCP Signal via multi-thread? #323

Open
MENGHAH opened this issue Jan 17, 2024 · 1 comment
Open

Is unimrcp support process the MRCP Signal via multi-thread? #323

MENGHAH opened this issue Jan 17, 2024 · 1 comment

Comments

@MENGHAH
Copy link

MENGHAH commented Jan 17, 2024

During parse the logic about process MRCP Signal of unimrcp, I found the architecture only surpport process it by single-thread? is it right? On the other hand, dose such a architecture will limit the maximum number of occurrences?

@Alone749-i
Copy link

Issue Description:
We have encountered a problem with the following function:

unimrcp/plugins/my_recog_engine.c
/** Callback is called from MPF engine context to write/send new frame */
static apt_bool_t otyun_recog_stream_write(mpf_audio_stream_t *stream, const mpf_frame_t *frame)

When this function experiences blocking under high concurrency, it causes noticeable stuttering in TTS playback. The stuttering issue disappears when we deploy MRCP speech recognition and speech synthesis separately.
Current UniMRCP version: 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants