Triple trouble streaming feed from Hikvision

PetraLeone

n3wb
Mar 13, 2025
7
1
NY
I'd like to live stream my 2 Hikvision cameras to share the scenery I record 24/7 but seems like I have 3 obstacles:

1- I am behind ISP CGNAT and can not forward any port, including 554 for RTSP;

2- My US bought Hikvision camera(s) don't support RTMP (while same models in Europe and Asia have it);

3- There seems to be a ban on Hikvision IP cameras in US for "national security" reasons. I don't want to tinker too much for fear of becoming a gateway for netbots, or worse.

Unless I found another solution, seems like my best bet would be to record, download, delay-broadcast all day long, every day. This way, I will be broadcasting my own benign MP4's and JPEG's independent of Hikvision and all that hullabaloo

Or, find a US OK'ed NVR and set it up to live stream what it is recording in real time.

As it says in my intro, I'm not a networking expert. Just groping around to get this one task done.

Thank you
 
Welcome!

There are folks that send streams via Blue Iris, but you would need some sort of computer and VMS system if you are not streaming directly from the camera.

If you are a homeowner or business owner, the NDAA ban doesn't impact you.

We have had many people come here thinking they need to get NDAA complaint stuff because some article scared them and in most instances once they learned what NDAA really meant and who it applied to and how poor the cameras perform, they then went and got Dahua or Hikvsion OEM as they represented the best overall value in terms of cost and performance.

The real issue that NDAA doesn't address is EVERY camera can be hacked, even NDAA cameras and NVRs. Don't let your cameras touch the internet and you won't have a problem.

Block the cams from the internet and go with the best bang for the buck and that will be Dahua and Hikvision OEMs.

Well known NDAA compliant companies have been hacked, thus showing that the ban and only using NDAA compliant devices like Verkada doesn't protect you if you give them internet access.

Sadly, too many companies have jumped on the NDAA bandwagon and sell subpar performing cameras and NVRs at a premium price all under the disguise of being secure, which they are not.

It is why we recommend DO NOT LET YOUR CAMERAS OR NVR TOUCH THE INTERNET. You isolate them via VLAN or dual NIC.

Here is just a sampling of the threads discussing it:

FCC to ban sales of some Chinese video products

US bans approval of new technology from China's Huawei and ZTE for 'national security

US President Signs Bill Into Law Requiring FCC To Ban Further Authorizations of Dahua and Hikvision

Today's FCC Ruling
 
Welcome!

There are folks that send streams via Blue Iris, but you would need some sort of computer and VMS system if you are not streaming directly from the camera.

If you are a homeowner or business owner, the NDAA ban doesn't impact you.

We have had many people come here thinking they need to get NDAA complaint stuff because some article scared them and in most instances once they learned what NDAA really meant and who it applied to and how poor the cameras perform, they then went and got Dahua or Hikvsion OEM as they represented the best overall value in terms of cost and performance.

The real issue that NDAA doesn't address is EVERY camera can be hacked, even NDAA cameras and NVRs. Don't let your cameras touch the internet and you won't have a problem.

Block the cams from the internet and go with the best bang for the buck and that will be Dahua and Hikvision OEMs.

Well known NDAA compliant companies have been hacked, thus showing that the ban and only using NDAA compliant devices like Verkada doesn't protect you if you give them internet access.

Sadly, too many companies have jumped on the NDAA bandwagon and sell subpar performing cameras and NVRs at a premium price all under the disguise of being secure, which they are not.

It is why we recommend DO NOT LET YOUR CAMERAS OR NVR TOUCH THE INTERNET. You isolate them via VLAN or dual NIC.

Here is just a sampling of the threads discussing it:

FCC to ban sales of some Chinese video products

US bans approval of new technology from China's Huawei and ZTE for 'national security

US President Signs Bill Into Law Requiring FCC To Ban Further Authorizations of Dahua and Hikvision

Today's FCC Ruling
Fair enough. But how am I gonna stream without internet? Record, hand off, and delay broadcast benign MP4's from a connected workstation? Really the only way? No way from an NVR?
 
Last edited:
You can stream a camera feed without giving the actual camera internet access.

I think @Ri22o may have some experience with BI and streaming, as do others.
 
  • Like
Reactions: PetraLeone
You can stream a camera feed without giving the actual camera internet access.

I think @Ri22o may have some experience with BI and streaming, as do others.
Blue Iris Looks promising, especially since it says it can control PTZ functions remotely. Hadn't heard of it before. I'm looking into it now. Thank you

Still don't know why an NVR can't stream on the fly if it has RTMP capability.
 
  • Like
Reactions: PetraLeone
HOLD everything!!! Looks like Blue Iris is doing it (at least locally). And it's sooo easy.

Now I have to work on feeding it to internet (own website, YouTube, etc.)

Thank you guys. I'll update
 
  • Like
Reactions: TonyR
There is a way using hik partner pro SDK, It gives you stream via their cloud. Its up to you what to do with it

Currently working on flutter multiplatform app, this is a debug version for web

1741931166354.png
 
  • Like
Reactions: PetraLeone
There is a way using hik partner pro SDK, It gives you stream via their cloud. Its up to you what to do with it

Currently working on flutter multiplatform app, this is a debug version for web

View attachment 216729
Then I pick up the stream from cloud near-simultaneousely at another end whose network is not behind CGNAT and let's me do port forwarding, etc. Stream makes a hop (cloud) on the way to a configurable network server. JUst have to see if cloud can pass it down on the fly, or only recorded 15-20 minute segments can be downloaded once a segment recording is finished, and broadcast with delay. Brilliant. Have to try that.
 
To fetch video, highly depends on location it uploads from. For me is 200ms after pressing play.

You can download segments as well via cloud. But the time format to query is millisecondsfromepoch

AAAnd both locations can be behind cgnat and it works
 
To fetch video, highly depends on location it uploads from. For me is 200ms after pressing play.

You can download segments as well via cloud. But the time format to query is millisecondsfromepoch

AAAnd both locations can be behind cgnat and it works
I'm not worried about latency type delays. I'm worried about "record, upload MP4 to cloud, download MP4 from cloud, re-broadcast" type delays. But if you say it "streams" onto cloud, I don't see why it can't "stream" out of cloud. Will try.
 
Ok so, connection i use atm


I request sdk.startRealPlay

Camera push already encoded stream either h264 or h265(depends on camera setting) to AWS(Hik vision cloud) bounce back to my SDK where i do with it whatever i want.

All that happens in less than 250ms

Now if you need to transcode it to some HLS or RTC that may take some time as well.

But overall, Camera stream is almost realtime.
 
  • Like
Reactions: PetraLeone