Closed vzxxbacq closed 3 years ago
Please use the mailing list for usage questions, thanks! https://groups.google.com/forum/#!forum/gstreamer-java
Brief reply, but hard to answer without seeing any code. There should only be one call to Gst.init()
in a process (further calls should be ignored though). Never call Gst.deinit()
.
Any Pipeline
object is a top-level pipeline, so independent. Either you're mixing references to elements in different pipelines, or the element in question is buggy. Without further info, not possible to say more.
Hello, I'm using gstreamer-java to serve my text-to-speech model. So, I need to create a separate pipeline every time the server gets a new init request. I call
Gst.init()
when theServer
class was created and every time theServer
gets a init request a newWorker
will be created. The creation steps of the pipeline in the constructor ofWorker
class, so I think pipelines in the different objects are separate, but during the creation of the second pipeline, I got warnings as below, it seems the properties were changed.Could you teach me what's the right way to create multiple pipelines? Thanks!