1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #319, raw api support update the global RTMP chunk_size.

This commit is contained in:
winlin 2015-09-01 21:27:04 +08:00
parent 2cfb71616e
commit c8466c36bd
5 changed files with 68 additions and 9 deletions

View file

@ -341,6 +341,10 @@ public:
* raw set the global pid.
*/
virtual int raw_set_pid(std::string pid, bool& applied);
/**
* raw set the global chunk size.
*/
virtual int raw_set_chunk_size(std::string chunk_size, bool& applied);
private:
virtual int do_reload_listen();
virtual int do_reload_pid();