I was wondering what's the correct way of detecting that a pipeline has not emitted any events via callbacks because there is no speech in a given audio file, or because there is something wrong with the pipeline.
At the moment i just rely on a timeout mechanism to track transcriptions emitted from the gst plugin and if there is nothing fot X second I assume it's an empty file, but also I shutdown the gst pipeline, because I do not know if it's still usable.
Hi,
I was wondering what's the correct way of detecting that a pipeline has not emitted any events via callbacks because there is no speech in a given audio file, or because there is something wrong with the pipeline.
At the moment i just rely on a timeout mechanism to track transcriptions emitted from the gst plugin and if there is nothing fot X second I assume it's an empty file, but also I shutdown the gst pipeline, because I do not know if it's still usable.
Do you have any suggestion?