mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add ingest config
This commit is contained in:
parent
9107831b0e
commit
92281548b6
10 changed files with 179 additions and 9 deletions
|
@ -36,6 +36,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_app_thread.hpp>
|
||||
|
||||
class SrsFFMPEG;
|
||||
class SrsConfDirective;
|
||||
|
||||
/**
|
||||
* ingest file/stream/device,
|
||||
|
@ -58,6 +59,10 @@ public:
|
|||
public:
|
||||
virtual int cycle();
|
||||
virtual void on_thread_stop();
|
||||
private:
|
||||
virtual void clear_engines();
|
||||
virtual int parse_ingesters(SrsConfDirective* vhost);
|
||||
virtual int initialize_ffmpeg(SrsFFMPEG* ffmpeg, SrsConfDirective* ingest, SrsConfDirective* engine);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue