PDA

View Full Version : Closing rtmpdump(or librtmp) properly from within VB6


grizzler
02-25-2011, 08:09 AM
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 (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm)?

Thanks in advance!