kaldi-gstreamer-server icon indicating copy to clipboard operation
kaldi-gstreamer-server copied to clipboard

Error switching between Audio types

Open pieteruys opened this issue 4 years ago • 0 comments

Hi,

while running a worker and first start decoding a "raw" audio file type, everything works fine. As soon as I change the codec to something like "alaw", it gives me an error on stdout: "Error message: Internal data stream error." In the worker.py logs, the error is as follows: 2020-08-19 10:18:06 - ERROR: decoder2: (gerror=GLib.Error('Internal data stream error.', 'gst-stream-error-quark', 1), debug='gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstAppSrc:appsrc:\nstreaming stopped, reason not-negotiated (-4)')

When I run it thereafter, everything works fine again. This always happens with the first run when changing the type: "audio/x-raw, audio/x-alaw" etc.

Any suggestions to fix this issue?

Thanks

pieteruys avatar Aug 19 '20 10:08 pieteruys