mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
alias http_stream to http_server. rename http to http_static of vhost. rename http_flv to http_renux
This commit is contained in:
parent
7305fa6f03
commit
25807298ad
16 changed files with 104 additions and 67 deletions
|
@ -66,7 +66,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define SRS_CONF_DEFAULT_BANDWIDTH_LIMIT_KBPS 1000
|
||||
|
||||
#define SRS_CONF_DEFAULT_HTTP_MOUNT "[vhost]/"
|
||||
#define SRS_CONF_DEFAULT_HTTP_FLV_MOUNT "[vhost]/[app]/[stream].flv"
|
||||
#define SRS_CONF_DEFAULT_HTTP_REMUX_MOUNT "[vhost]/[app]/[stream].flv"
|
||||
#define SRS_CONF_DEFAULT_HTTP_DIR SRS_CONF_DEFAULT_HLS_PATH
|
||||
#define SRS_CONF_DEFAULT_HTTP_AUDIO_FAST_CACHE 30
|
||||
|
||||
|
@ -970,16 +970,16 @@ public:
|
|||
/**
|
||||
* get whether vhost enabled http flv live stream
|
||||
*/
|
||||
virtual bool get_vhost_http_flv_enabled(std::string vhost);
|
||||
virtual bool get_vhost_http_remux_enabled(std::string vhost);
|
||||
/**
|
||||
* get the fast cache duration for http audio live stream.
|
||||
*/
|
||||
virtual double get_vhost_http_flv_fast_cache(std::string vhost);
|
||||
virtual double get_vhost_http_remux_fast_cache(std::string vhost);
|
||||
/**
|
||||
* get the http flv live stream mount point for vhost.
|
||||
* used to generate the flv stream mount path.
|
||||
*/
|
||||
virtual std::string get_vhost_http_flv_mount(std::string vhost);
|
||||
virtual std::string get_vhost_http_remux_mount(std::string vhost);
|
||||
// http heartbeart section
|
||||
private:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue