address the problem with ffmpeg termination on some platforms.
address the problem with ffmpeg termination on some platforms.

KhaosT/HAP-NodeJS,mrhornsby/HAP-NodeJS,peterlee0127/HAP-YeeLight,pascalmartin/HAP-NodeJS,KhaosT/HAP-NodeJS,polo14va/HAP-NodeJS