shell登录鉴权改成广播方式

删除rtsp/rtmp shell命令,添加media命令
加载配置文件后发送广播
This commit is contained in:
xiongziliang
2018-02-08 17:24:42 +08:00
parent 3c40f171c1
commit 551b9a437b
8 changed files with 190 additions and 91 deletions

View File

@@ -38,7 +38,7 @@ using namespace ZL::Player;
namespace ZL {
namespace DEV {
class PlayerProxy :public MediaPlayer, public std::enable_shared_from_this<PlayerProxy>{
class PlayerProxy :public MediaPlayer, public std::enable_shared_from_this<PlayerProxy> , public MediaSourceEvent {
public:
typedef std::shared_ptr<PlayerProxy> Ptr;
@@ -54,7 +54,7 @@ public:
virtual ~PlayerProxy();
void play(const char* strUrl) override;
bool shutDown() override;
private:
bool m_bEnableHls;
bool m_bEnableMp4;