Get the data in the record rtspserver through pull-sample

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Get the data in the record rtspserver through pull-sample

Hi,this is my reduce code.

Two service , factory1 receives data and sends data to factory2,factory2 is
used to play.
Two clients, one to send data to factory1 , and one VLC to play factory2

 factory1 = gst_rtsp_media_factory_new ();
  gst_rtsp_media_factory_set_launch (factory1, "decodebin name=depay0 !
appsink name=mysink emit-signals=true sync=false");

 factory2 = gst_rtsp_media_factory_new ();
  gst_rtsp_media_factory_set_launch (factory2, "( appsrc name=mysrc !
videoconvert ! x264enc ! rtph264pay name=pay0 pt=96 )");

One client:
 gst-launch-1.0.exe -v videotestsrc ! x264enc ! rtspclientsink
 send data to factory1

another client:
  vlc rtsp://
 play factory2

 factory1 sends data to factory2
 use appsink‘s new-sample and pull-sample signals

I am running a problem now, using the Pull-sample method, the program has a
I don't know if this plan will work.

Who can help me analyze?


Sent from:
gstreamer-devel mailing list
[hidden email]