RTSP server and tee element

olda olda476 at gmail.com
Thu Aug 29 16:28:53 UTC 2019


Hello, I would like to ask if it is possible to connect two different
payloads in gstreamer rtsp server.
I have a pipeline with a tee element and I imagine that I have "/ test1" and
"/ test2".

  /factory = gst_rtsp_media_factory_new ();
  gst_rtsp_media_factory_set_launch (factory, "( "
          " rpicamsrc preview=false bitrate=2000000 ! tee name=t "
          " t. ! queue ! video/x-h264, width=1296,height=730,framerate=30/1
! h264parse ! rtph264pay name=pay0 pt=96 "
          " t. ! queue ! video/x-h264, width= 640,height=480,framerate=30/1
! h264parse ! rtph264pay name=pay1 pt=97 "
          ")");
  gst_rtsp_media_factory_set_shared (factory, TRUE);
  gst_rtsp_mount_points_add_factory (mounts, "/test1", factory);
  g_signal_connect (factory, "media-constructed", (GCallback)
media_constructed, NULL);/

Now I have and donĀ“t know to continue... :)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list