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:
parent
2cfb71616e
commit
c8466c36bd
5 changed files with 68 additions and 9 deletions
|
@ -669,6 +669,13 @@ extern int srs_get_local_port(int fd);
|
|||
// where peer ip is the client public ip which connected to server.
|
||||
extern std::string srs_get_peer_ip(int fd);
|
||||
|
||||
// whether string is digit number
|
||||
// is_digit("1234567890") === true
|
||||
// is_digit("0123456789") === false
|
||||
// is_digit("1234567890a") === false
|
||||
// is_digit("a1234567890") === false
|
||||
extern bool srs_is_digit_number(const std::string& str);
|
||||
|
||||
// dump summaries for /api/v1/summaries.
|
||||
extern void srs_api_dump_summaries(SrsAmf0Object* obj);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue