I agree with above suggestions.
The only thing not mentioned…You could use tiny cam pro on a cheap old android phone or on an android emulator then run it in server mode. This gives you an RTSP stream which you can then plug into some webcam software.
I mentioned the emulator option or old phone since you marked that you use iOS and tiny cam is only on Android.