I am building a system for audio processing. Web UI is based on Ruby on
Rails, so I am considering using Ruby/GStreamer to build audio
part - it will greatly integrate with rest of the software.
Unfortunately, documentation at project’s website seems to be outdated.
The very first problem that I’ve encountered is that Gst::Pipeline has
iterate method, as it is used at
documentation in the hiki doesn’t show any method like that.
I tried to switch to GLib’s mainloop, by adding following code at the
of sample mentioned above:
add objects to the main pipeline
pipeline.add(filesrc, decoder, audiosink)
filesrc >> decoder >> audiosink
mainloop = GLib::MainLoop.new
but unfortunately, GStreamer plays nothing.
So what is the correct way to play simple stream? I don’t want to use
Thanks in advance.
PS. If anyone would give me access to the hiki I can update
documentation during my work.