mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srt parameter configure (#1599)
* if there isn't srt connect, it needn't epoll wait * solve repush srt bugs * change two thread to one thread * mpegts discard header is not 0x47 * add srt_epoll_clear_usocks * add srt parameter configure
This commit is contained in:
parent
c2012379af
commit
5f7d23f123
6 changed files with 227 additions and 6 deletions
|
@ -9,6 +9,7 @@ http_api {
|
|||
enabled on;
|
||||
listen 1985;
|
||||
}
|
||||
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
|
@ -18,6 +19,10 @@ http_server {
|
|||
srt_server {
|
||||
enabled on;
|
||||
listen 10080;
|
||||
maxbw 1000000000;
|
||||
connect_timeout 4000;
|
||||
peerlatency 300;
|
||||
recvlatency 300;
|
||||
}
|
||||
|
||||
# @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue