Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Closing rtmpdump(or librtmp) properly from within VB6

(http://stream-recorder.com/forum/showthread.php?t=8499)

grizzler 02-25-2011 08:09 AM

Closing rtmpdump(or librtmp) properly from within VB6


 
Dear All,

I Succesfully managed to call rtmpdump.exe from within VB6 using CreateProcess API, but when rtmpdump is stuck, or I simply for whatever reason wants to stop a stream and quit the rtmpdump.exe process, I´m not sure what to do.
WM_CLOSE, WM_QUIT and TerminateProcess I´ve tried, but with no luck.
I´m not too experienced anyway in using API´s, so perhaps I´m doing something wrong.
I have not tried rtmplib.dll, did not find the instructions on it so clear, but if anyone already put together an example in VB6for its usage, I´d be glad if you could share it. Will there also be times where I´d have to force a dll to shut down then, or is that nothing to be concerned about in the rtmplib solution instead of rtmpdump?

Thanks in advance!


All times are GMT -6. The time now is 05:58 AM.