mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #293, support http live flv/aac/mp3 stream with fast cache. 2.0.100.
This commit is contained in:
parent
29a8932b49
commit
b7b268dfbf
9 changed files with 87 additions and 8 deletions
|
@ -68,6 +68,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define SRS_CONF_DEFAULT_HTTP_MOUNT "[vhost]/"
|
||||
#define SRS_CONF_DEFAULT_HTTP_FLV_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
|
||||
|
||||
#define SRS_CONF_DEFAULT_HTTP_STREAM_PORT 8080
|
||||
#define SRS_CONF_DEFAULT_HTTP_API_PORT 1985
|
||||
|
@ -971,6 +972,10 @@ public:
|
|||
*/
|
||||
virtual bool get_vhost_http_flv_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);
|
||||
/**
|
||||
* get the http flv live stream mount point for vhost.
|
||||
* used to generate the flv stream mount path.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue