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
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @seeossrs/srs#307 (comment)
candidate x.x.x.x;
}
描述(Description)
监控摄像头成功注册后,如果中间网络断开,设备会在系统中下线,当网络恢复后,设备无法在系统中重新上线;
但检查监控摄像头注册状态是在线的,需要把摄像头先关闭注册,然后再重新打开,摄像头才能重新在系统中上线。
另外发现当监控摄像头较多时,在部分摄像头中观察状态显示在线,但是在系统中“视频流”就是没有,但是我们在网络中进行抓包,分析得出系统与摄像头交互又是正常的,这个问题出现这样的网络结构:系统在内网、摄像头在外网,中间通过路由器将5061、9000映射到外网。
SRS版本(Version): 5.0.26
SRS的日志如下(Log):
push gb28181 stream to SRS.
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
}
stats {
network 0;
}
stream_caster {
enabled on;
caster gb28181;
}
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @see ossrs/srs#307 (comment)
candidate x.x.x.x;
}
vhost defaultVhost {
rtc {
enabled on;
bframe discard;
rtmp_to_rtc on;
}
}
重现(Replay)
1、在系统中上线监控摄像头,将中间的网络断开一下,一般我断开10-30秒,重新恢复网络,摄像头就会在系统中下线,没法恢复上线状态
期望行为(Expect)
The text was updated successfully, but these errors were encountered: