S
S
Sergey Ryzhkin2015-05-14 19:39:30
CCTV
Sergey Ryzhkin, 2015-05-14 19:39:30

How to change port 554 for cameras on Trassir server?

Greetings, comrades!
Question for TRASSIR user and Hikvision cameras
There was a problem with changing ports 554 on the TRASSIR server for Hikvision cameras.
Let's assume that there are two Hik DS-2CD2032-I cameras that are exposed to the outside. In order to connect the camera to the TRASSIR server, you need to open ports 8000 (SDK) and 554 (rstp), but there was a problem with the latter. How do I tell the TRASSIR server to force it to try video on a different port?
It is not difficult to forward it to the external camera, I just add the numbers 1 and 2 for example, and we get ports from the first camera: 8001 and 5541. And the ports on the second camera are 8002 and 5542. When connecting the camera to the Trassir server, I specify port 8001, the camera clings normally , but there is no video, because the server is breaking for video on port 554, and I did not find where to change it for this camera in the server settings, when connecting, the tracer asks only for the SDK port and that's it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Krivakov, 2015-08-25
@Franciz

Good day, Sergey.
In Trassier, when adding a camera, the video port (RTSP) is not explicitly specified, only the control port (SDK) is specified. The tracer connects to the camera via the control port, "interrogates" it, "finds out" which port should be used to request video. If there is such a situation that there are 2 HikVision cameras behind the same IP address and you need to add them to Trassir, then you need to do the following:
1) make sure that all the necessary ports (in this case, the control port (SDK), the video port (RTSP )) were unique for each camera. Example: camera_1 8001 and 554, camera_2 8002 and 555 respectively ;
2) perform port forwarding on the router to the external network symmetrically. Example, for camera_1 8001->8001, 554->554, for camera_2 8002->8002, 555->555.
3) when adding in Trassir, specify the router address and the corresponding control port (SDK) for each WAN camera.

T
TimGelade, 2015-08-25
@TimGelade

And also Sergey Ryzhkin , you can enable the UPnP service on the gateway and in the web interface of the cameras, in this case, manually forwarding only the SDK ports for cameras 1 and 2 (for example, 8000 and 8001, respectively), the cameras will automatically forward RTSP ports on the gateway and will be their tell Trassir. Thus, the port forwarding operation is partially automated, and in Trassir it will be necessary to specify the ip-address and SDK port, in the example for cameras 1 and 2, these are ports 8000 and 8001, respectively.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question