I am running my donnet framework based application using mono in Linux Ubuntu. My application uses linphone's mediastream command to open the RTP socket and hook the audio device. I am using the following mediastream command to call from my application:

mediastream (arguments......)

Every thing is working fine but when i am trying to kill the mediastream using the killall command, it goes defunct. I am giving the following command from my application:

killall mediastream

What I am doing wrong? How can I handle those defunct processes?


Linphone's mediastream require CTRL+C (SIGINT) to close properly and killall default signal is SIGTERM. So you can try SIGINT signal in killall command as follows:

killall -SIGINT mediastream


killall -2 mediastream

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.