Dahua problem with watching Live streams and recordings that constantly chop on P2P or IP/Domain whether I watch via DMSS when accessed from outside!

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
I have had the following problem for a long time, I have a Dahua NVR5216-4KS2 to which 6 pcs TiOC Dahua IP cameras from the WizSense Series are connected via a PoE Switch, and I use the DMSS application for viewing on a mobile phone.

At home, where the cameras are located, I have an optical Internet (optical network) package 1000/100 Mbps, and I received a ZTE F680 router from the provider for use, and whenever I want to access it from the outside (either via mobile data or via another provider), I watch Live Stream or browsing the recordings chops a lot and stops on both DMSS and SmartPSS!

Since my provider has put all its users behind CG-NAT, I assume that this might be a problem, but again it is not clear to me that P2P can slow down because of CG-NAT.

When I'm at home on my Wi-Fi, everything works fine and there's no chopping or stopping of the live stream or recording, but as I said before, the problem only happens when I'm outside on mobile data or when I'm on another internet provider, and even when I access with the internet of my provider and the optical network that I also have at work.

I also bought a public static IP address from my provider (they removed me from CG-NAT), I forwarded ports 37777 and 80 on the ZTE F680 router and set in DMSS to connect via the IP/Domain option, but neither that didn't help and the live stream and viewing of the recorded material are still choppy and constantly twitching...

Has anyone had a similar problem and possibly how to solve it?

The NVR records only from the Main stream.
Let me mention that I set all the cameras to the following values:
Codec: H.264, General (tried with H.265 but nothing changed)
Bitrate: 8192Kbps
FPS: 15fps

Thanks!
 
Last edited:

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,640
Reaction score
10,978
Location
Minnesota USA
Any chance it could be a Substream issue?
Not sure if the NVR can have subs turned off or not....but just a thought.
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
Any chance it could be a Substream issue?
Not sure if the NVR can have subs turned off or not....but just a thought.
Of course, I didn't turn off the Substream 1 and it's still active, I just set in DMSS in the streaming settings that the Live stream preview and playback go through the Main stream!

And the settings for Substream 1 are this:
Codec: H.264
Bitrate: 512Kbps
FPS: 15fps
 
Last edited:

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,640
Reaction score
10,978
Location
Minnesota USA
you could conduct an experiment.
change the DMSS stream settings to Sub, and see if the problem resolves.
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
you could conduct an experiment.
change the DMSS stream settings to Sub, and see if the problem resolves.
I tried it, and when I change in DMSS settings to Substream 1, everything goes smoothly but then the live stream and recording are of much worse quality, and that's not a solution for me because I want to watch the live stream and recordings in HD quality where I can zoom in and the recording is clear.

Certainly thanks for the answer
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,522
Reaction score
48,753
Location
Floriduh
I tried it, and when I change in DMSS settings to Substream 1, everything goes smoothly but then the live stream and recording are of much worse quality, and that's not a solution for me because I want to watch the live stream and recordings in HD quality where I can zoom in and the recording is clear.

Certainly thanks for the answer

The limitation is with your provider network and/or phone
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
The device should still be recording motion in mainstream, even though it's not displaying that on your phone.
Perhaps your mobile phone and/or it's service provider, are Suspects?
I also suspected that something was wrong with my mobile operator, but exactly the same thing happens when I am at a friend's house or at my work where I am connected to the Wi-Fi network and then also the Live Stream is not fluid and watching the video slows down !

Also my wife has the same problem on her iPhone 11 128GB, so I don't think the problem is with the mobile phone...

None of those issues happen when I'm on my home Wi-Fi or desktop PC on a LAN cable, then everything is fluid!

The problem always occurs when I access and view from the outside with DMSS or SmartPSS!

This happens even when I access and I'm at my neighbor's house (on his Wi-Fi) who is only a few houses away from me, and we have the same internet provider...!
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,048
Reaction score
48,851
Location
USA
What is your internet upload speed? That will dictate how fluid the video is leaving your house. At 10Mbps upload speed, many higher MP cams can be higher than that or approaching that and will cause choppy live view or playback of mainstream video. And keep in mind using P2P means that a portion of the that upload speed is always being used for P2P services as well, so you may not have access to the full upload speeds you are paying for.
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
What is your internet upload speed? That will dictate how fluid the video is leaving your house. At 10Mbps upload speed, many higher MP cams can be higher than that or approaching that and will cause choppy live view or playback of mainstream video. And keep in mind using P2P means that a portion of the that upload speed is always being used for P2P services as well, so you may not have access to the full upload speeds you are paying for.
Dear @wittaj this is how every measurement on Speedtest looks like:


Speedtest.png
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,048
Reaction score
48,851
Location
USA
OK so from an upload you should have the speed, so what I think it is now is your router cannot keep up with the non-stop-non-buffering demands of this kind of video. Unlike Netflix that buffers, these cameras do not.

Why it works in the house on the same router who knows, probably some sort of throttling or QoS in play.
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
OK so from an upload you should have the speed, so what I think it is now is your router cannot keep up with the non-stop-non-buffering demands of this kind of video. Unlike Netflix that buffers, these cameras do not.

Why it works in the house on the same router who knows, probably some sort of throttling or QoS in play.
Just like that, it's like my provider is somehow unknowingly blocking that upload to the P2P Dahua servers... maybe it's just my mind and I'm assuming that...
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,048
Reaction score
48,851
Location
USA
Or maybe at home it is staying local without going thru P2P and when remote you are then also at the mercy of the P2P server.

If you have the capability, it would be interesting to see if you setup OpenVPN or ZeroTier and turn off P2P and see if you could watch remotely without choppy video.
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
Or maybe at home it is staying local without going thru P2P and when remote you are then also at the mercy of the P2P server.

If you have the capability, it would be interesting to see if you setup OpenVPN or ZeroTier and turn off P2P and see if you could watch remotely without choppy video.
As if there is a firewall in the ZTE F680 router and it does not allow larger uploads to Dahua P2P servers...

Although the problem remains the same when I forward ports 3777 and 80 I'm also thinking of subscribing to a VPN service, but first check out the provider for a public static IP address and then get a VPN and see if it works!

My next question is whether the ZTE F680 router will work on VPN, and as I also own my TP-Link Archer AX73 router (which I don't use now so as not to be behind NAT again) and AX73 it has a settings for VPN Server and VPN Client, so would it fit?

Thanks!
 
Last edited:

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,048
Reaction score
48,851
Location
USA
Do not subscribe to a VPN - those are paid to hide your IP address for illegal streaming and porn LOL.

You need a VPN service that you host. So either OpenVPN on your router or a computer or something like ZeroTier.
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
Do not subscribe to a VPN - those are paid to hide your IP address for illegal streaming and porn LOL.

You need a VPN service that you host. So either OpenVPN on your router or a computer or something like ZeroTier.
OK, thank you very much. I'll see how to set it up on my router, probably TP-Link has some tutorial about it on their site for my AX73 router...
I've never done that with VPN settings before... :)
 

zexoni70

Getting the hang of it
Joined
Dec 12, 2021
Messages
96
Reaction score
83
Location
Serbia
You need a VPN service that you host. So either OpenVPN on your router or a computer or something like ZeroTier.
If I host a VPN service on my router and do OpenVPN, is it better to keep the public static IP address that I now pay with the provider, or does it not affect OpenVPN and OpenVPN works just as well behind a NAT address?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,048
Reaction score
48,851
Location
USA
Yes if you are willing to pay for it!
 
Top