mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, move gop_cache and queue_length to play
This commit is contained in:
parent
06ae74dd3f
commit
f7c893d907
10 changed files with 105 additions and 151 deletions
|
@ -331,7 +331,8 @@ public:
|
|||
/**
|
||||
* to enable or disable the gop cache.
|
||||
*/
|
||||
virtual void set(bool enabled);
|
||||
virtual void set(bool v);
|
||||
virtual bool enabled();
|
||||
/**
|
||||
* only for h264 codec
|
||||
* 1. cache the gop when got h264 video packet.
|
||||
|
@ -520,8 +521,6 @@ public:
|
|||
virtual int initialize(SrsRequest* r, ISrsSourceHandler* h, ISrsHlsHandler* hh);
|
||||
// interface ISrsReloadHandler
|
||||
public:
|
||||
virtual int on_reload_vhost_gop_cache(std::string vhost);
|
||||
virtual int on_reload_vhost_queue_length(std::string vhost);
|
||||
virtual int on_reload_vhost_play(std::string vhost);
|
||||
virtual int on_reload_vhost_forward(std::string vhost);
|
||||
virtual int on_reload_vhost_hls(std::string vhost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue