Is it possible to alter the properties of the kaldinnet2onlinedecoder gstreamer element while it is in the pipeline? I'm trying to alter the server so I can send a request to change which FST, model etc are being used. The following causes a segfault,
#in decoder2.py
self.asr.set_state(Gst.State.PAUSED)
self.asr.set_property('fst', 'models/other/HCLG.fst')
#changing all the properties here
self.asr.set_state(Gst.State.PLAYING)
I was able to get something working by creating an entirely new decoder but I'd rather do it this way if possible.
Is it possible to alter the properties of the kaldinnet2onlinedecoder gstreamer element while it is in the pipeline? I'm trying to alter the server so I can send a request to change which FST, model etc are being used. The following causes a segfault,
I was able to get something working by creating an entirely new decoder but I'd rather do it this way if possible.
Thanks