[transcriberbin] - make audioqueue leaky
If transcription runs slow or has issues the queue can fill up and block
all audio processing. This gives the queue a sufficent buffer and allows
it to drop audio if it eventually fills up. This was most noticable with
bad internet connections using the awstrnascriber
where it would take
quite a while for the websocket to eventually timeout and the bin to
enter passthrough=true
.
Merge request reports
Activity
requested review from @meh
- Resolved by Sebastian Dröge
error: this expression borrows a reference (`&str`) that is immediately dereferenced by the compiler --> video/closedcaption/src/transcriberbin/imp.rs:99:61 | 99 | aqueue_transcription.set_property_from_str("leaky", &"downstream"); | ^^^^^^^^^^^^^ help: change this to: `"downstream"` | = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Makes sense to me otherwise
assigned to @gstreamer-merge-bot
mentioned in commit raytiley/gst-plugins-rs@dd028ce9
added 3 commits
-
f4e5e603...22585a03 - 2 commits from branch
gstreamer:main
- dd028ce9 - [transcriberbin] - make audioqueue leaky
-
f4e5e603...22585a03 - 2 commits from branch
mentioned in commit arun/gst-plugins-rs@5181a438
mentioned in commit arun/gst-plugins-rs@602dbc7a