Hi All,
I am a newbie to gstreamer. I am trying to use java-binding for gstreamer. I went throught the example in github. Those are very basic.
But to realtime scenario we have to handle multiple pipeline at a time.
is there any development manual for java gstreamer available ?
how to do the pipeline management?
Is it mandatory to start the gstreamer for each pipeline , If not what are all the mandatory things to be done as part of gst lifecycle management?
In my application, I wanted to capture the start time of the sample received at source. Is there any way we can get that information?
Below is my pipeline. Please current me if anything is wrong.
Element source = ElementFactory.make("udpsrc", "source");
source.set("port", eventManager.getGstreamerPort());
source.set("address",Host.getHostIp());
source.setCaps(Caps.fromString("application/x-rtp, media=audio, "
+ "clock-rate=8000, channel=1, payload=0, "
+ "encoding-name=PCMA"));
Element depayloader = ElementFactory.make("rtppcmadepay", "depayloader");
Element decodebin = ElementFactory.make("alawdec", "decodebin");
Element converter = ElementFactory.make("audioconvert", "converter");
Element encoder = ElementFactory.make("wavenc", "encoder");
// Create an appsink to capture the audio data
AppSink appSink = (AppSink) ElementFactory.make("appsink", "sink");
appSink.set("emit-signals", true);
Thanks & Regards
Anusha