mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 01:37:33 +08:00
支持客户端自定义设置EventPoller对象,提高线程安全性
This commit is contained in:
@@ -52,7 +52,7 @@ class RtspPlayer: public PlayerBase,public TcpClient, public RtspSplitter, publi
|
||||
public:
|
||||
typedef std::shared_ptr<RtspPlayer> Ptr;
|
||||
|
||||
RtspPlayer();
|
||||
RtspPlayer(const EventPoller::Ptr &poller) ;
|
||||
virtual ~RtspPlayer(void);
|
||||
void play(const string &strUrl) override;
|
||||
void pause(bool bPause) override;
|
||||
|
||||
Reference in New Issue
Block a user