hi,i have a question for gst-rtsp-server,could you help me?

Dušan Poizl poizl at maindata.sk
Tue May 20 02:08:50 PDT 2014


it is not entilrely clear to me for either. But in documentation to RTSP 
server

  The GstRTSPMediaFactory is responsible for creating and caching 
GstRTSPMedia objects. The default implementation of GstRTSPMediaFactory 
allows you to easily create GStreamer pipelines using the gst-launch 
syntax. It is possible to create a GstRTSPMediaFactory subclass that 
uses different methods for constructing pipelines.

So as I understand it you must subclass GstRTSPMediaFactory. 
https://developer.gnome.org/gobject/stable/howto-gobject.html here is 
some documentation how to subclass GOBject which GStreamer is based on.

Dňa 20.05.2014 10:58, koler koler wrote / napísal(a):
> thanks Poizl,could you tell more?i could not understand your idea
> correctly and don't know how to revise  rtsp-media-factory.c or other
> c files.
> i read rtsp-media-factory.c,i could find the GstRTSPMedia object in function:
>
> static GstRTSPMedia *
> default_construct (GstRTSPMediaFactory * factory, const GstRTSPUrl * url)
>
> in your mean,what should i do for this func?
>
> 2014-05-20 16:10 GMT+08:00, Dušan Poizl <poizl at maindata.sk>:
>> this is something I will need also solved for my application. I asked
>> this question on IRC channel and response was that I must subclass
>> GstRTSPMediaFactory which return previously build up pipeline inside
>> GstRTSPMedia object.
>>
>> Dňa 20.05.2014 09:53, koler koler wrote / napísal(a):
>>> hi,
>>> i am sorry to disturb your business.i have a question of
>>> gst-rtsp-server for a long time.i could not solve it.i know you are
>>> author for it,i hope i could get some lights.thanks.
>>> i use gst-rtsp-server to stream my h264 video on rtsp.my gstreamer
>>> pipeline have two purposes.one is streamming h264 video on
>>> rtsp.another is saving video on harddisk.my gstream pipeline could
>>> complete the work.but i find video could not be saved on harddisk if
>>> remote client does not access rtsp port.that is ,if there is no client
>>> request rtsp server,the whole gstream pipeline could not work.i want
>>> to the pipeline could save video on harddisk whatever the client is
>>> requesting or not.what could i do for realizing the object?
>>> any comment would be appreciated.thanks very much
>>>
>>> Koler
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list