Filter with `push` flow_control
Hello, I have a filter that transcribes audio as it receives it by sending it to a transcription service(via a websocket). I also have a VAD filter(applied before the audio data arrives to the Membrane pipeline).
I'm seeing that the audio data only gets sent once the buffer is full(when there is enough voice audio).
I was trying to change the
flow_control
to :push
for the transcription filter for this. (Is that the right solution?)
I also ran into some errors because while my source has its output pad flow_control set to push
there are some intermediate filters that have it as :auto
:
Here is my pipeline and filter: https://gist.github.com/samrat/17b7423a1dbb1fa939594f263e6e4d6b
What would be the best way for the audio buffers to get sent for transcription as soon as it is received?F
Feliks•37d ago
Hi,
LinkError
that you provided is caused by linking :auto
output with :push
input, so having a source with push
output cannot be reason of it. I see in your gist, that you commented out # flow_control: :push
in filter input pad, so is there a chance, that this error comes from the moment, when this line wasn't commented?S
samrat•37d ago
Yes, the error is from when the line wasn't commented.
I was trying to fix the problem of the audio frames getting buffered by changing the flow_control on the input pad, but ran into the LinkError.
F
Feliks•37d ago
Ok, but changing
flow_control
from :push
to :auto
doesn't cause buffering any audio frames
I'm seeing that the audio data only gets sent once the buffer is full(when there is enough voice audio).Could you describe the problem in a different way, please? I don't know what you mean
Want results from more Discord servers?
More PostsLL-HLS broadcastingHello everyone!
I am trying to make LL-HLS broadcasting work.
I used the demo from webrtc_to_hls aPipeline children started twiceHello,
I'm seeing children in a Membrane pipeline get started twice:
I think this might be an issuWriting a `Bin` queuing content from multiple remote files@skillet wrote in https://discord.com/channels/464786597288738816/1007192081107791902/12244914186265Split audio file into 20mb chunksIm trying to figure out how to take the file at this URL, and send it to OpenAI in chunks of 20mb: hbundlex nifs and libasanIs it anyone build nifs with libasan support?
Even if I put compiler_flags ["-fno-omit-frame-pointerunifex seg fault on handle_destroy_stateHi, i'm implementing g772.1 decoder/encoder plugin and have issue with handle_destroy state.
I've taDeveloping an advanced Jellyfish use caseHey I've been using jellyfish to develop a platform for essentially one-on-one calls between two peotoilet capacity of outbound_rtx_controllerHi, I'm getting the following error on SessionBin:
```
[error] <0.1282.0>/:sip_rtp/{:outbound_rtx_cOn JF Tracks and Reconnecting (in React)So I noticed a few things about the react-sdk and JF tracks in general. Note I have react code that h264 encoder problemshi guys, I'm using h264 encoder plugin for video encoding and sending it via rtp to client.
Sometim