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

add srt server file

This commit is contained in:
runner365 2020-01-11 23:05:10 +08:00
parent 1f493cc037
commit aeee3011ef
9 changed files with 177 additions and 9 deletions

View file

@ -588,6 +588,13 @@ public:
virtual bool get_forward_enabled(std::string vhost);
// Get the forward directive of vhost.
virtual SrsConfDirective* get_forwards(std::string vhost);
public:
// Whether the srt sevice enabled
virtual bool get_srt_enabled();
// Get the srt service listen port
virtual unsigned short get_srt_listen_port();
// http_hooks section
private:
// Get the http_hooks directive of vhost.