MDAPI_OnStartProc: Support for parameter plKeepRunning
MDAPI_Plus is a DirectShow filter, which can descramble television
Brought to you by:
alexplusplus,
mdapiplus
Hi,
I am the developer of the new Windows DVBViewer/MDAPI plugin mdvbapi.
As there is a single instance/DLL for each tuner there is a internal pipe connection between multiple instances.
(Oscam dvbapi only accept a single socket connection)
In MDAPI_Plus there is the plugin parameter "Unload plugin after inactivity period:".
If this value is set to another value than "0" (disabled) the plugin mdvbapi will fail on multiple tuners.
This because may the pipe server is getting closed so all other instances doesn't have any way to communicate with oscam.
As I have found the declaration of MDAPI_OnStartProc there is a parameter plKeepRunning:
It would be nice if the parameter can be included in MDAPI_Plus.
It should be enough if this paramter is set to "1" to automatically disable the unloading of the plugin after inactivity by the var dwInactivityTimeout = 0.
thx
Hi,
There is an update code committed by author. It should work now.