View Single Post
  #1  
Old 02-25-2011, 08:09 AM
grizzler grizzler is offline
Junior Member
 
Join Date: Jan 2011
Posts: 16
grizzler is on a distinguished road
Default

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!
Reply With Quote