Go to documentation repository
Page History
...
- On the Server:
Open the port for receiving data from the remote Client.
Info title Note The open port mustn’t be occupied. You can use the following command to check if the port is available:
Code Block netstat -ano | findstr :<Port>
It is recommended to set ports higher than 10000.
Add a 1 channel device and specify its address in the IP address field in the following format:
Code Block listenrtsp://<Server IP address>:<Port>
Info title Note The RTSP link is specified optionally.
Code Block listenrtsp://<Server IP address>:<Port>/<RTSP link>
For example:
Code Block listenrtsp://127.0.0.1:1554/live1.sdp
where
127.0.0.1—IP address of the Server;
1554—RTSP port, which mustn’t be occupied. To check if the port is available, you can use the command from step 1a;
live1.sdp—RTSP link.
- On the remote Client:
- Download the package of open source FFmpeg libraries from the official website.
- Open the command prompt, and go to the folder containing the ffmpeg.exe file.
Run the following command:
Code Block ffmpeg.exe -f gdigrab -video_size 640x480 -i desktop -c:v <Codec> -f rtsp -muxdelay 0.1 "listenrtsp://<Server IP address>:<Port>/<RTSP link>"
where
– the Codec parameter may take accept the mpeg2video, mpeg4, h264 or hevc value;
– the video_size 640x480 and -muxdelay 0.1 parameters may be omitted or altered.
If necessary, you may can specify additional parameters in this command.Supported parameters
Description
-draw_mouse <int> Mouse cursor presence. Available range: 0 to 1, default value is 1
-show_region <int> Capture area indication. Available range: 0 to 1, default value is1
-framerate <video_rate> FPS value (number of frames)
-video_size <image_size> Video image size (pixels)
-muxdelay <int> Maximum demultiplexer-decoding delay (seconds) -offset_x <int> Capture area X offset (pixels). Default value is 0
-offset_y <int> Capture area Y offset (pixels). Default value is 0
After the command execution, remote Client's screen is shared on your display.
Info title Note - The axes of the capture area are offset from the upper left corner of the main monitor.
- If the additional monitor is located to the left of the main monitor, a negative value of offset_x must be used to move the capture area to the additional monitor.
- If the additional monitor is located above the main monitor, a negative value of offset_y must be used to move the capture area to the additional monitor.
...