1
0
Fork 0
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:
winlin 2014-04-07 13:13:57 +08:00
parent 9107831b0e
commit 92281548b6
10 changed files with 179 additions and 9 deletions

View file

@ -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