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
srt { #SRT
worker_threads 2;
worker_connections 300;
log_file /logs/error.log;
log_level debug;
stat_post_url http://192.168.1.203:3000/sls/stat;
stat_post_interval 1;#s
#record_hls_path_prefix /tmp/mov/sls;
#vod file name: /tmp/mov/sls/$listen/$domain_publisher/$app_publisher/$stream_name/vod.m3u8
server {
listen 1935;
latency 100; #ms
domain_player output;
domain_publisher input;
backlog 100; #accept connections at the same time
idle_streams_timeout 60;#s -1: unlimited
#on_event_url http://192.168.31.106:8000/sls/on_event; #?method=on_connect|on_close&role_name=&srt_url=%s
app {
app_player live ;
app_publisher live ;
#record_hls off;#on, off
#record_hls_segment_duration 10; #unit s
#relay {
# type pull;
# mode loop;#loop; hash;
# reconnect_interval 10;
# idle_streams_timeout -1;#s -1: unlimited
# upstreams 127.0.0.1:9090?streamid=live.sls.com/live 192.168.1.100:8080/?streamid=live.test.com/live;
#}
#relay {
# type push;
# mode all; #all; hash
# reconnect_interval 10;
# idle_streams_timeout 10;#s -1: unlimited
# upstreams 192.168.31.106:8080?streamid=uplive.sls.com/live ;
#}
}
}
}
When SLS is launched, I receive a single successful post request with an empty body to my simple webserver. All subsequent stats requests fail, with the following error:
Hi Thomas, how are you?
I want to know if you can solve this.
I don't know how to exact stats from srt-live-server, because everything works fine but i don't have any stats of the server, streams, etc.
Thanks.
I have a very simple webserver running as seen below:
My sls conf is as follows:
When SLS is launched, I receive a single successful post request with an empty body to my simple webserver. All subsequent stats requests fail, with the following error:
Please advise, but it looks to me as though the http header is not being set in the http request.
There is no change in behaviour of the server with or without srt streams connected.
Thanks
The text was updated successfully, but these errors were encountered: