listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
srs_log_level trace;
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
http_api {
enabled on;
listen 1985;
}
vhost __defaultVhost__ {
tcp_nodelay on
min_latency on;
play {
gop_cache on;
queue_length 10;
mw_latency 100;
}
publish {
mr off;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
atc on;
transcode {
enabled on;
ffmpeg /usr/bin/ffmpeg;
engine low {
enabled on;
vcodec libx264;
vbitrate 600;
vwidth 360;
vheight 640;
vthreads 12;
vprofile main;
vpreset veryfast;
vparams {
-x264-params "no-scenecut=1:keyint=90";
}
acodec copy;
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
}
engine medium {
enabled on;
vcodec libx264;
vbitrate 1200;
vwidth 540;
vheight 960;
vthreads 12;
vprofile main;
vpreset veryfast;
vparams {
-x264-params "no-scenecut=1:keyint=90";
}
acodec copy;
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
}
engine high {
enabled on;
vcodec libx264;
vbitrate 1600;
vwidth 720;
vheight 1280;
vthreads 12;
vprofile main;
vpreset veryfast;
vparams {
-x264-params "no-scenecut=1:keyint=90";
}
acodec copy;
output rtmp://127.0.0.1:[port]/[app]?vhost=[vhost]/[stream]_[engine];
}
}
}
[2020-11-24 17:54:17.771][Warn][31543][233][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.771][Warn][31543][233][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.771][Warn][31543][234][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.771][Warn][31543][234][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.771][Warn][31543][234][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.771][Warn][31543][234][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.771][Warn][31543][234][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.772][Trace][31543][238] HTTP client ip=61.220.72.232, request=0, to=15000ms
[2020-11-24 17:54:17.772][Error][31543][238][11] serve error code=3009 : parse message : parse 517B, nparsed=0, err=16/HPE_INVALID_METHOD invalid HTTP method
thread [31543][238]: parse_message() [src/service/srs_service_http_conn.cpp:95][errno=11]
thread [31543][238]: parse_message_imp() [src/service/srs_service_http_conn.cpp:127][errno=11](Resource temporarily unavailable)
[2020-11-24 17:54:17.782][Trace][31543][239] HTTP client ip=61.220.72.232, request=0, to=15000ms
[2020-11-24 17:54:17.782][Error][31543][239][11] serve error code=3009 : parse message : parse 517B, nparsed=0, err=16/HPE_INVALID_METHOD invalid HTTP method
thread [31543][239]: parse_message() [src/service/srs_service_http_conn.cpp:95][errno=11]
thread [31543][239]: parse_message_imp() [src/service/srs_service_http_conn.cpp:127][errno=11](Resource temporarily unavailable)
[2020-11-24 17:54:17.901][Warn][31543][232][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.901][Warn][31543][232][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.901][Warn][31543][232][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.901][Warn][31543][232][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.901][Warn][31543][232][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.905][Warn][31543][233][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.905][Warn][31543][233][11] aac ignore type=1 for no sequence header
[2020-11-24 17:54:17.905][Warn][31543][233][11] aac ignore type=1 for no sequence header