1
0
Fork 0
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:
Alex.CR 2020-02-12 07:03:27 -06:00 committed by GitHub
parent c2012379af
commit 5f7d23f123
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 227 additions and 6 deletions

View file

@ -21,6 +21,8 @@ public:
private:
//init srt socket and srt epoll
int init_srt();
int init_srt_parameter();
//srt main epoll loop
void on_work();
//accept new srt connection