I am trying to build my pipeline using the python gst bindings for an h264
stream over rtp,I am trying to figure out how I can link the pad templates
such as rtpbin.send_rtp_sink etc
If I use the command line pipeline I have something like this
rtpbin name=rtpbin profile=avf dxgiscreencapsrc ....... !
rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !
I believe I had the correct syntax for creating my rtpbin and pad templates,
however I am not sure how to link them correctly.
I am creating my rtpbin simply using Gst.ElementFactory.make('rtpbin'), then
setting properties
When I get to creating the pad templates
I am doing the following
name_template = 'send_rtp_sink_0'
pad_direction = 2
pad_presence = 0
caps = Gst.Caps.from_string('')
rtpbin_template =
Gst.PadTemplate.new(name_template,pad_direction,pad_presence,caps)
# print(rtpbin_template)
rtpbin.add_pad_template(rtpbin_template)
How do I make sure that this pad template is added to the correct position?
Also how can I make sure the rtpbin is in the correct position? I am simply
doing pipeline.add(rtpbin) , then rtpbin.link(dxgiscreencapsrc) however I
don't know if this works
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel