Any way to check "no signal" or "device not found" on SDK


Hi there, I need to close the epiphan software when there is no input (i.e. the ps4 is not turned on thus giving no signal). I am using the sdk to perform operations and when there is no input I want to close it after a few mins. Is there any method on SDK to achieve this? Thank you so much