On the left is the screen pulled back from the SRT distribution server, and the delay is also set to 100ms.
VMIX SRT 1080P
Here on the right is the final output of vMix, the SRT distribution server built by the push stream, 1080p resolution, 2M bit rate, and delay set to 100ms. Also select as caller, fill in server IP and 4202 port. Then in vMix, select the push end as the caller, fill in the server IP and 4201 port, and pull the stream. Here, port 4201 of the local IP is monitored as the SRT stream input port, and port 4202 of the local IP is the SRT stream output port. The SRT distribution server uses srt-live-transmit, and the opening method is also very simple: In the bin folder under this directory, srt-live-transmit is SRT live streaming forwarding, srt-file-transmit is SRT file forwarding, and srt-ffplay is SRT streaming playback (only in Available in operating systems with a graphical interface). I installed it in the /home/libsrt directory. The server used this time is the CentOS7 server on Alibaba Cloud, and the configuration is not high. After downloading, there are installation instructions for different operating systems at the bottom of the home page.
VMIX SRT CODE
Build an SRT distribution serverĭownload the official source code compression package on the SRT official website. In the subsequent tests, the push delay of SRT 8M code rate is only 1 second, and the delay of long push stream will not increase stably, which fully reflects the advantages of SRT. For RTMP streaming with the same 2M bit rate, the initial delay is about 3 seconds when the default is not optimized, and the long-term streaming will be 8 seconds or more. You can see that the delay is only 1 second, but because it is not accurate to the millisecond level, it is actually less than 1 second. The streaming end is DHCP non-fixed IP, select Caller for the streaming type, fill in the IP, port, and delay of the streaming end, and click OK.Īt the same time, open a real-time Beijing time webpage on this machine, and you can compare it with the Beijing time signal pushed from the push end to test the delay.Īs shown in the figure, the left side is the signal transmitted back by the pull stream, and the right side is the web page opened by the machine. In order to test the delay, open a webpage showing Beijing time in vMix and compare the delay with Beijing time on the push end.īecause the push end has a public network IP, the type is selected as Listener, the port is arbitrarily filled in 4111, the delay is 120ms, no password, h264 encoding, 2M bit rate. vMix supports SRT's multi-channel signal push and pull, and can simply set the SRT parameters, including push-pull delay, password, push-stream encoding format, resolution, bit rate and so on.
VMIX SRT SOFTWARE
The test software adopts the vMix 23 version. SRT's public network point-to-point transmission Fixed IP, or the streaming media distribution server has a fixed IP on the public network. This article mainly introduces SRT-based public network point-to-point transmission and the establishment of SRT streaming media distribution server, but the premise is that both the sender and the receiver have a public network. SRT supports AES encryption for end-to-end security to ensure that your video stream will not be stolen.Īt present, the commonly used VLC, OBS, vMix, larixbroadcaster all support SRT push-pull streaming. Its error recovery mechanism maximizes Reduce the common data packet loss in Internet connection.
S stands for Secure, which means securely encrypted video streams, R stands for Reliable, which means it has the reliability to recover from severe data packet loss, and T stands for Transport, which means it dynamically adapts to changing network conditions.ĭuring the transmission of audio and video data packets, SRT will detect and adapt to the real-time network conditions between the two transmission points, helping to compensate for jitter and bandwidth fluctuations caused by network congestion. It is not only suitable for LAN transmission like NDI, it is more suitable for signal transmission in the public network environment. The aftereffect, the long-term push delay will not increase. Unlike RTMP, it has the transmission characteristics of high bit rate and low delay, which strengthens the transmission reliability in the complex and unstable network environment. SRT is an open source transmission technology, which is based on the UDP protocol.