Hi @FishEye
Are you changing any environment variables?
IR_BRIGHTNESS = float(os.environ.get('IR_BRIGHTNESS', 250))
IR_FLOODLIGHT = float(os.environ.get('IR_FLOODLIGHT', 0))
RESOLUTION = os.environ.get('RESOLUTION', 'THE_800_P')
STREAM_TYPE = os.environ.get('STREAM_TYPE', 'depth')
CAMERA_IP = os.environ.get('CAMERA_IP', None)
I'm running your script but am not experiencing any toggling issues. From the video file it looks to me like the device is rotating. Could it be that you are encoding the streams which compresses the stream, making dots invisible (if you get what I mean).
You can also try running your script with DEPTHAI_DEBUG=1
which should print the IR amperage.
Thanks,
Jaka