Electronjs automatic game screen recording


Hi Team,

I am Madhuri Thakur . I am building a desktop app for screen recording of my user’s desktop but especially only when user is playing a video game and not watching other videos or anything.
Whenever a game start on user’s desktop, the application should automatically detect that game is being played. and should start record automatically without a manual start.
IS electronJS provide this service?
Please help me with it.

One of the reference example of such software is https://plays.tv/ but based on .net.

MAny thanks in advance.