mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
907 B
Plaintext
37 lines
907 B
Plaintext
# no-daemon and write log to console config for srs.
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
http_api {
|
|
enabled on;
|
|
listen 1985;
|
|
}
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
hls {
|
|
enabled on;
|
|
hls_fragment 10;
|
|
hls_window 60;
|
|
hls_path ./objs/nginx/html;
|
|
}
|
|
ingest livestream {
|
|
enabled on;
|
|
input {
|
|
type file;
|
|
url ./doc/source.200kbps.768x320.flv;
|
|
}
|
|
#ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
|
ffmpeg ./objs/research/librtmp/srs_ingest_flv;
|
|
engine {
|
|
enabled off;
|
|
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
|
|
}
|
|
}
|
|
}
|