Display Live feed in Ignition Perspective

Hi everyone,
I have one doubt regarding displaying live camera feed in Ignition Perspective.

I am using a third-party IP camera, and both the camera and the Ignition Gateway are on the same network. I tried to show the live feed in a Perspective Video Player component by setting the camera stream URL in the Source Path property. However, I am getting an error and the video is not displaying.

Could anyone guide me on the correct way to configure the video stream in Ignition?

Multiple forum posts on the same topic are not allowed.

3 Likes
  1. Sanity check that the given url works in the web browser first (happens)
  2. Does the codec used belong in this list? Media | JxBrowser
1 Like

http://admin:admin123@192.168.5.190/ipcam/mjpeg.cgi

“http://admin:admin123@192.168.5.190/ipcam/mjpeg.cgi”
This is my camera stream URL and it works in my browser.
But when I paste the same URL into the Ignition Perspective Video Player as the source path, it shows the error “File not valid.”
My camera is Milesight and the video codec is H.264.
Please help me to display the live video in Perspective.

Did you tick “Live Feed: True”?

Yes sir

Test your Perspective video component in an actual client session in your browser. It is likely your stream has an unsupported codec for the designer. (Same with Workstation.)

I tested the stream in a real Perspective client session while running Ignition in free trial mode on localhost. The Video Player component is showing an invalid stream error. This issue is not because I'm on localhost; it's because the stream format (codec) is not supported by the Perspective Video Player

Is it possible to include the username and password directly in the URL, like http://admin:admin123@192.168.5.190/ipcam/mjpeg.cgi, for an Ignition Perspective video stream? I know that Perspective won’t load streams with credentials in the URL, but is there any workaround or supported method to pass authentication this way? My camera is using H.264 codec only.

Yes

Thanks :slightly_smiling_face:

1 Like