-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
webrtc推流不能被控制台检测到,不通过回调接口,视频不能保存' translates to: 'webrtc streaming cannot be detected by the console, without using callback interfaces, the video cannot be saved. #2073
Copy link
Copy link
Closed
Labels
TransByAITranslated by AI/GPT.Translated by AI/GPT.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.WebRTC, RTC2RTMP or RTMP2RTC.
Milestone
Description
Description
webrtc streaming cannot be detected by the console, video cannot be saved without using callback interface (webrtc can receive streams).
1. SRS Version: 4.0.56
1. SRS Configuration:
listen 1935;
max_connections 1000;
srs_log_file /home/turnuser/srs/trunk/objs/srs.log;
#srs_log_tank console;
#daemon off;
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
https {
enabled on;
listen 8088;
key ./conf/top_key.key;
cert ./conf/top_chain.crt;
}
}
http_api {
enabled on;
listen 1985;
https {
enabled on;
listen 1990;
key ./conf/top_key.key;
cert ./conf/top_chain.crt;
}
raw_api {
enabled on;
allow_reload on;
allow_query on;
allow_update on;
}
}
stats {
network 0;
}
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
** candidate Server IP;**
}
vhost __defaultVhost__ {
** # 0 latency**
min_latency on;
play {
mw_latency 0;
mw_msgs 0;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
hls {
enabled on;
hls_path /home/turnuser/srs/trunk/objs/nginx/html;
hls_fragment 10;
hls_window 60;
}
** # Save video**
dvr {
enabled on;
** # Save everything inside this**
dvr_apply all;
dvr_path /opt/livestream/temp/[app]/[stream]/[timestamp].flv;
dvr_plan session;
time_jitter full;
}
rtc {
enabled on;
bframe discard;
}
}
TRANS_BY_GPT3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
TransByAITranslated by AI/GPT.Translated by AI/GPT.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.WebRTC, RTC2RTMP or RTMP2RTC.