mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 17:27:33 +08:00
支持客户端自定义设置EventPoller对象,提高线程安全性
This commit is contained in:
@@ -25,7 +25,7 @@ namespace mediakit {
|
||||
class RtspPusher : public TcpClient, public RtspSplitter, public PusherBase {
|
||||
public:
|
||||
typedef std::shared_ptr<RtspPusher> Ptr;
|
||||
RtspPusher(const RtspMediaSource::Ptr &src);
|
||||
RtspPusher(const EventPoller::Ptr &poller,const RtspMediaSource::Ptr &src);
|
||||
virtual ~RtspPusher();
|
||||
|
||||
void publish(const string &strUrl) override;
|
||||
|
||||
Reference in New Issue
Block a user