You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SRS Log: None, can transmit normally, just the delay is too long.
SRS Config:
gb28181.conf
System environment: CentOS 7
Operation Steps
a. Use the dev version of srs-gb28181, with the configuration file push.gb28181.conf. Then configure the access to the Hikvision camera on the 28181 platform, using UDP as the transmission protocol and GB/T28181-2016 as the protocol version. When playing the RTC video stream, a delay of approximately 1 second is observed between the video stream and the camera.
b. Recently, it was discovered that SRS has released version 5.0, which supports 28181. Therefore, the latest version 5.0-a0 was downloaded and compiled. The gb28181.conf file was configured, and the same camera on the 28181 platform was accessed. TCP was used as the transmission protocol, with the same protocol version. TCP acceleration was enabled, and the camera was restarted for safety. When playing the RTC video stream, a delay of 4 seconds is observed between the video stream and the camera, which is 3 seconds more than the UDP method.
c. Following the instructions in the gb28181.conf configuration file, according to https://ossrs.net/lts/zh-cn/docs/v5/doc/low-latency, low-latency configuration was added. SRS was restarted, but there was no improvement in the delay.
d. HLS was disabled, and SRS was restarted, but the delay remained unchanged.
e. The original push.gb28181.conf configuration was used directly, and SRS was restarted, but the delay remained unchanged.
f. If the camera platform cannot register successfully using UDP as the transmission protocol, and if version 5.0-a0 does not support UDP transmission, how can the delay of TCP transmission be reduced?
Expected Result
Reduce the delay when accessing the gb28181 platform using TCP.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
5.0-a0 supports GB streaming and WebRTC viewing. The latency will be relatively low, you can test how many seconds it is.
PS: On the public network, UDP transmission of srs-gb28181 is unreliable (no packet retransmission or FEC), so it cannot be used online, even if the latency is lower.
5.0-a0 supports GB streaming and WebRTC viewing. The latency for WebRTC is relatively low, you can test how many seconds it is.
For WebRTC viewing, the TCP delay is 4 seconds, while the original version's UDP delay is 1 second.
winlinvip
changed the title
GB28181: 5.0-a0版本TCP传输 比srs-gb28181 UDP传输延时多3秒
GB28181: 5.0-a0 version TCP transmission has a delay of 3 seconds more than srs-gb28181 UDP transmission.
Jul 28, 2023
SRS Version: 5.0-a0
SRS Log: None, can transmit normally, just the delay is too long.
SRS Config:
gb28181.conf
System environment: CentOS 7
Operation Steps
a. Use the dev version of srs-gb28181, with the configuration file push.gb28181.conf. Then configure the access to the Hikvision camera on the 28181 platform, using UDP as the transmission protocol and GB/T28181-2016 as the protocol version. When playing the RTC video stream, a delay of approximately 1 second is observed between the video stream and the camera.
b. Recently, it was discovered that SRS has released version 5.0, which supports 28181. Therefore, the latest version 5.0-a0 was downloaded and compiled. The gb28181.conf file was configured, and the same camera on the 28181 platform was accessed. TCP was used as the transmission protocol, with the same protocol version. TCP acceleration was enabled, and the camera was restarted for safety. When playing the RTC video stream, a delay of 4 seconds is observed between the video stream and the camera, which is 3 seconds more than the UDP method.
c. Following the instructions in the gb28181.conf configuration file, according to https://ossrs.net/lts/zh-cn/docs/v5/doc/low-latency, low-latency configuration was added. SRS was restarted, but there was no improvement in the delay.
d. HLS was disabled, and SRS was restarted, but the delay remained unchanged.
e. The original push.gb28181.conf configuration was used directly, and SRS was restarted, but the delay remained unchanged.
f. If the camera platform cannot register successfully using UDP as the transmission protocol, and if version 5.0-a0 does not support UDP transmission, how can the delay of TCP transmission be reduced?
Expected Result
Reduce the delay when accessing the gb28181 platform using TCP.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: