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

fix #717, #691, http api/static/stream support cors. 3.0.9

This commit is contained in:
winlin 2016-12-15 16:22:04 +08:00
parent f6661989af
commit b231550c32
12 changed files with 79 additions and 7 deletions

View file

@ -1324,6 +1324,10 @@ public:
* get the http stream root dir.
*/
virtual std::string get_http_stream_dir();
/**
* whether enable crossdomain for http static and stream server.
*/
virtual bool get_http_stream_crossdomain();
public:
/**
* get whether vhost enabled http stream