I ve experimented much with cams.
The best way is to keep the CPU load away from the device where you have Node Red running.
This works for all devices where you can set an iFrame without using logins:
mobil phone apps, Tasmota webcams or some other webcams.
If that does not work most devices have at least a screenshot url. So I use basically a method where I grab pictures by javascript without use of Node Red payload. The result is a kind of hq slideshow where the FPS depends on what your network can handle.
If I dont want that I use the rtsp protocol included in most webcams. kevinGodell has a nice thread about to use. I would recommend that if iFrames does not work.