RTSP in VLC but not showing in Cockpit

Hello,

We’re having issues viewing video from IP cameras in Cockpit. These can be viewed in VLC. Some info below:

BlueOS 1.3.1
Cockpit 1.3.0

We’ve remained on these releases as we’ve been developing an extension unrelated to video streams. These releases have proven stable.

This is the Video Manager setup. The same URLs have been used in VLC.

We added multiple streams in Cockpit hoping any of them come up but none do.

The strange thing is these cameras all used to work in Cockpit.

Another strange happening is Video Manager stating “It looks like there’s no video stream accessible from your device’s detected IP address (192.168.1.90).” We don’t use the IP address. Perhaps it was entered inadvertently? We can’t find where it may have been entered. Any ideas?

image

Thanks in advance.

Hi @grantdutoit -
Updating to the latest Cockpit is strongly recommended!
Can you share more information on what IP camera you’re using? Are they providing an H264 stream? It may be challenging to get that many working at once…

Hi @tony-white
The cameras are from security cameras and re-housed. They are ONVIF compliant. They worked before. Yes, they provide H264. Either way, none of them work in Cockpit whether one or all. I stand under correction but I believe we had them all working at one point. Didn’t run them for some time and with time you guys have improved things with many releases since. The same config doesn’t work anymore.

Any idea about the stray IP?

Hey @grantdutoit!

Can you check in BlueOS’s ethernet menu (two computers on the right top corner) if you have an static IP set to 192.168.1.90? If so, and it was not intended, you can delete it.

Hey @rafael.lehmkuhl,

I’ve checked it too. Not from there either.

@Joao, you helped with the first time we got the cameras working. Could you perhaps help again?

Any chance this notification is related?

I found the IP on the top-side computer. Do you have any idea why it is looking for video streams on the top-side? Shouldn’t it be looking/obtaining the IP for the RPi?

My mistake on that one. The message is actually clear, I got it wrong. It’s just saying that from your top-side computer (192.168.1.90), which is where the BlueOS frontend is running, there are no streams accessible. That’s why you are not receiving them on Cockpit.

As this is on the BlueOS/MCM side, I will transfer the issue to that forum and let @joaoantoniocardoso help you as this is his field.

@joaoantoniocardoso, can you please help?

@rafael.lehmkuhl, thank you!

Hi,

It might be the video route configuration on Cockpit, could you please send us a screenshot of the General Configuration and another one of the Video Streams Configuration, from Cockpit?

The most probable source of problem would be the list of Allowed WebRTC remote IP Address. The IP there should be your tether IP address (eth0, which is 192.168.1.44 on your screenshot from BlueOS).

I hope that can help, and sorry for the delay!

Hey @joaoantoniocardoso,

We have to do a fresh install as the system appears to be corrupted. Can no longer connect to BlueOS at all after having electrical supply problems. I’ll not be able to provide what you have requested. Once complete with fresh install, we’ll see if the problem still exists and get back to you. Thank you.

Hi @grantdutoit -
What kind of electrical supply problems? Does the 5v UBEC still provide 5V when checked with a multimeter? Plugging in a HDMI monitor to the Pi via an adapter is a great way to understand why a system may be failing to boot…

Hi,
sorry if I join this conversation but I have a similar problem.
I’m trying to view an external RTSP IP camera inside cockpit but I’m not able to redirect the streaming in the BlueOS configuration.
I’ve tried both the latest BlueOS Master and Beta but none of them are working. Of course I can view the streaming in VLC.

Here is what I see in the Video Manager

Do I miss anything?

Hi @EnricoT -
Yes, unfortunately you’ve missed that BlueOS does not support mpeg4 video streams - only h264 encoding! If your cameras have such a stream available, things should work, otherwise I’m afraid the behavior you’re seeing is expected…

Hi @tony-white ,
thanks for your help. Actually the camera I am using is set to h264, this is why I am still confused.
Anyway, I’ve managed it to work for now with the camera low quality sub-stream.
I’ll try to find another camera which is more compatible.
Do you know if there are plans to upgrade the streaming options?

Hi @EnricoT -
There is indeed some experimentation with other video streaming software options, but a lot of the limitations come from Chrome/Electron itself, in the case of Cockpit…
Checkout @williangalvani 's latest extension, a packaging of MediaMTX for BlueOS!