View Local Camera as Live Feed in Video Player component in Perspective

Hello Everyone,

Is it any way to use Local device camera as live feed in video player component in perspective.

Basically i want to show local camera in this component

I am waiting for your positive responses.

Pretty sure the camera needs to support mjpeg streams to stream their feed directly. If it only supports rtsp then you can use @pturmel's module

Well, I think the Perspective viewer has more capabilities. But you still have cross-origin restrictions that my module would address. In Perspective, you have to script reload of the player any time the stream stops.

What about streams that use basic authentication? Does your module support that, Phil?

Current OpenCV support appears to work with basic auth. (I don't claim to support anything not supported by OpenCV's VideoCapture class.)

(You can always use trial mode with your sample....)

1 Like

I might have to give your module a go in trial mode then for one of my customer's sites, as they're missing their video streams they had in Vision since moving to perspective

Do remember that it is a CPU hog, even when no-one is watching.

I seem to recall you saying that. Maybe just proof of concept for now and we'll run it in its own VM with separate platform licence if they choose to go ahead with it.

I recommend turning your cameras' frame rates down. 12fps instead of 30 or 60 fps. Makes a big difference.