terminate gst-launch via command terminal
Stefan Sauer
ensonic at hora-obscura.de
Thu Jan 30 08:05:40 PST 2014
On 01/29/2014 01:54 PM, d wrote:
> 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?
>
>
you need to write a (simple) application. gst-launch is a developer tool.
Stefan
More information about the gstreamer-devel
mailing list