mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support publish_1stpkt_timeout and publish_normal_timeout
This commit is contained in:
parent
170ad05148
commit
7273c33c35
8 changed files with 143 additions and 12 deletions
|
@ -534,6 +534,14 @@ public:
|
|||
* whether reduce the sequence header.
|
||||
*/
|
||||
virtual bool get_reduce_sequence_header(std::string vhost);
|
||||
/**
|
||||
* the 1st packet timeout in ms for encoder.
|
||||
*/
|
||||
virtual int get_publish_1stpkt_timeout(std::string vhost);
|
||||
/**
|
||||
* the normal packet timeout in ms for encoder.
|
||||
*/
|
||||
virtual int get_publish_normal_timeout(std::string vhost);
|
||||
private:
|
||||
/**
|
||||
* get the global chunk size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue