How to get RTSP Stream on Nx Server
AnsweredHey,
I can't seem to get an RTSP connection from any of my servers. I'm trying to get the RTSP stream of some of the cameras in the Nx Server. So I can stream them to a 3rd party system.
I've tested all types of codecs and streams as described in the documentation.
I've tried connecting the RTSP URL to VLC, to another Nx Server, through the browser and nothing worked except to this URL which worked through the browser:
https://external IP address:7001/media/8964b9cd-61ea-d680-3121-219c6644f3a3.webm
Did it use to work? How can I get the RTSP streams of cameras from the Nx Server and connect to 3rd party systems / VLC player?
Environment
Nx Witness 4.0.0.29987
Client: Windows 10 Pro
Server: Windows 10 Pro
Network Topology: PoE Switch with 12 cameras and a Windows 10 Pro PC. 7001 is the only opened port to the world.
-
Hello Sir,
Sorry that we're unable to identify the issue with the current information.
Could you share more detailed to us?
1. Camera Vendor/model and codec
2. VLC and Nx server log: You may be able to find them by below instructions:
- VLC log: Tools > Messages
- Server log: https://support.networkoptix.com/hc/en-us/articles/115011223427-Finding-the-Server-LogThank you.
0 -
Hey.
1. Hikvision DS-2DE4A320IW-DE (PTZ) and Hikvision DS-2CD2342WD-I (Turret) - both are using H.264 connecting to Nx through ONVIF.
2. I removed the IP from the logs
VLC Logs
live555 error: Failed to connect with rtsp://x.x.x.x:7001/0fd34245-296e-2033-4edf-09793f5e288e?stream=-1
satip error: Failed to setup RTSP session
Nx Server LogsWARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:22.996 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:23.309 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:23.606 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:23.902 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:24.215 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:24.512 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:24.808 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:25.121 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:25.418 edc WARNING nx::vms::server::analytics::MetadataHandler(0x11443aac648): TOO MANY SIMILAR MESSAGES: Unable to find descriptor for nx.hikvision.videoloss
2020-04-23 19:52:26.058 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54012 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:26.402 1fbc WARNING QnRtspConnectionProcessor(0x11451d43e60): Failed to play rtsp session, resource not initialized
2020-04-23 19:52:29.760 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54017 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:29.760 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54016 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:36.603 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54023 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:36.946 19a8 WARNING QnRtspConnectionProcessor(0x114464b8920): Failed to play rtsp session, resource not initialized
2020-04-23 19:52:37.009 1650 INFO ThirdPartyStreamReader(0x11448cb0180): got stream URL rtsp://x.x.x.x:7001/0fd34245-296e-2033-4edf-09793f5e288e?stream=-1 for camera rtsp://x.x.x.x:7001/0fd34245-296e-2033-4edf-09793f5e288e?stream=-1 for role 1
2020-04-23 19:52:37.431 1650 INFO ThirdPartyStreamReader(0x11448cb0180): got stream URL rtsp://x.x.x.x:7001/0fd34245-296e-2033-4edf-09793f5e288e?stream=-1 for camera rtsp://x.x.x.x:7001/0fd34245-296e-2033-4edf-09793f5e288e?stream=-1 for role 1
2020-04-23 19:52:43.382 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54034 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:44.569 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54035 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:47.194 ee8 INFO nx::network::cloud::relay::ConnectionAcceptor(0x11446501a40): Cloud connection from 109.66.90.244:54040 has been accepted. Info: relay http://f66f25db-7c32-b3c7-f6d3-cbaed22c2e63.85068b48-e4e1-4367-841e-758d6ac00caf@relay-fr.vmsproxy.com
2020-04-23 19:52:47.569 2570 WARNING QnRtspConnectionProcessor(0x11451f8a3f0): Failed to play rtsp session, resource not initializedScreen Shot from Nx Desktop
Let me know if you need any additional information.
Thanks
0 -
Hi Sir,
Thanks for the information. Sorry that I've removed the screenshot of your Nx desktop because it contains your public IP.
Are you willing to provide the remote access of your server machinie? It will be helpful for us to check your case effeciently.
Thanks.
0 -
Hey Wendy,
Yes, I'd like to share remote access for the server. Is it possible to schedule it? Where should I send the remote access details?
Thanks
0 -
Hi Omer,
After checking your server, we notice that the option "Encrypt Video traffic" (The option could be found from the System Administration > General tab) is enabled in your server. VLC is not expected to play the encrypted stream.
I have disabled it temporary and confirmed transcode stream is able to play now.
Thanks for your time and cooperation.1 -
Hello
Wendy Chuang
I also encountered the same problem
RTSP can enter the account number and password of the server
but there is a validation error
Make sure "Encrypt Video traffic" is not enabled" (The option could be found from the System Administration > General tab)
Can you please help me remotely?0
Post is closed for comments.
Comments
6 comments