mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ignore any intranet bandwidth.
This commit is contained in:
parent
2e437a28b4
commit
8cd68a1eb3
2 changed files with 57 additions and 4 deletions
|
@ -609,6 +609,9 @@ extern SrsNetworkDevices* srs_get_network_devices();
|
|||
extern int srs_get_network_devices_count();
|
||||
// the deamon st-thread will update it.
|
||||
extern void srs_update_network_devices();
|
||||
// detect whether specified device is internet public address.
|
||||
extern bool srs_net_device_is_internet(std::string ifname);
|
||||
extern bool srs_net_device_is_internet(in_addr_t addr);
|
||||
|
||||
// system connections, and srs rtmp network summary
|
||||
class SrsNetworkRtmpServer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue