terminate gst-launch via command terminal

d dudi017 at gmail.com
Wed Jan 29 04:54:04 PST 2014


Hi,

I have c program which launch "gst-launch ....(pipeline)" vie the c finction
(system) and it works fine.
the problem is when i want to terminate the gst-launch and stop the
streaming.

the client sends (char) command to the server (in c programming) and the
server supposed to stop the streaming.

I tried in the server side the function:

    raise(SIGTERM);
    system("ctrl-c");
    system( ^C);
    put -e after gst-launch (i still dont know how it know when to stop)

and nothing affect the server- it keeps streaming.

there is someway to stop the streaming exept hit on the keyboard manually
ctrl-c? by some command?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/terminate-gst-launch-via-command-terminal-tp4664960.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list