1
This commit is contained in:
parent
2b910366df
commit
e1cc6fe10f
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <future>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -75,7 +76,7 @@ class RTMPManager
|
|||||||
|
|
||||||
static std::string make_stream_key(const std::string &cam_name, StreamType type);
|
static std::string make_stream_key(const std::string &cam_name, StreamType type);
|
||||||
static GstElement *create_pipeline(const Camera &cam, StreamType type);
|
static GstElement *create_pipeline(const Camera &cam, StreamType type);
|
||||||
static void stream_loop(Camera cam, StreamType type);
|
static void stream_loop(Camera cam, StreamType type, std::promise<StreamStatus> *status_promise);
|
||||||
|
|
||||||
static void update_status(const std::string &key, const StreamStatus &status);
|
static void update_status(const std::string &key, const StreamStatus &status);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user