[Bug 711087] Support Auxiliary streams in rtpbin

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 29 18:41:34 CET 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711087
  GStreamer | gst-plugins-good | git

--- Comment #4 from Julien Isorce <julien.isorce at gmail.com> 2013-10-29 17:41:30 UTC ---
So my kind of API to setup auxiliary elements inside rtpbin works like that:

* Instanciate any aux receivers or senders in your application.
* build a structure with name "rtpauxreceive" for aux receivers or "rtpauxsend"
for aux senders.
* add "element" field of type GST_TYPE_ELEMENT to that structure to pass the
gst element.
* add "sessions" field of type GST_TYPE_LIST to that structure to pass the
sessions ids that have to use this aux element. (ids are the field uses in
"recv_rtp_sink_%u" for receivers, and "send_rtp_sink_%u" with
"send_rtp_src_%u") for senders
* use new rtpbin's "add-aux-element" property to pass this structure.
* rtpbin then handle those aux elements in a generic way so that they can be
session-multiplxed or SSRC-multiplexed

See checks/test/elements/rtprtx.c::test_simple_rtpbin_aux for an example.

Notes: currently not possible to use from gst-launch. We can discuss about
having the ability for rtpbin to instanciate itself the special aux elements
rtprtxsend and rtprtxreceive but they need to be configured ("payload-type" and
"payload-types" properties) to make retransmission work. So having several
rtprtxsend and rtprtxreceive in a rtpbin would require a complete
api/properties. And for each aux elements.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list