change element after execute gst-rtsp-server,

Stephenwei lofy.stephen at gmail.com
Tue Sep 17 08:16:01 UTC 2019


Hi,
According to an example file test-video. we can create an RTSP server as
below,
gst_rtsp_media_factory_set_launch (factory, "( "
      "videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! "
      "x264enc ! rtph264pay name=pay0 pt=96 "
      "audiotestsrc ! audio/x-raw,rate=8000 ! "
      "alawenc ! rtppcmapay name=pay1 pt=97 " ")");

gst_rtsp_mount_points_add_factory (mounts, "/test", factory);

Of course, we also can create the test2, test3 to dispatch different video.

My question is if I want to change the elements or add another factory after
executing a program.

How can I do?

Thank you.

Ho



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


More information about the gstreamer-devel mailing list