rtspsrc enhancement with events

Farkas Levente lfarkas at lfarkas.org
Thu Feb 9 05:02:40 PST 2012


hi,
currently the rtspsrc in gstreamer are not able to handle any kind of
play related events except seek. even seek was implemented at the rtsp
level (send a pause then seek and play). all other events are dropped in
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtsp/gstrtspsrc.c
in gst_rtspsrc_handle_src_event then in
gst_rtspsrc_handle_internal_src_event function which simple drop these
events.
we'd like to implement at least SEEK, RATE, STEP and NAVIGATION event in
rtspsrc to be able to send these events through rtspsrc and the server
get it. so we'd like to play with different rate, backward and frame by
frame through rtsp. and if the server implements it than it can handle
it. (of course we'd like to implement the server side too).

of course we'd like to add the patches to gstreamer, but before we start
to implement it we'd like to ask core gstreamer developers which would
be the preferred way you ie. how to implement it to be easily accepted
by you to inclusion. we thought the best would be to send these events
through the rtcp protocol which is something for it.
we'd like to do it first in the 0.10 branch.

what do you think about it?

thanks in advance.
regards.

ps. i also write a bz about it:
https://bugzilla.gnome.org/show_bug.cgi?id=669746

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the gstreamer-devel mailing list