mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 11:38:11 +08:00
TcpSession/UdpSession统一为Session类
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
#include "RtmpMediaSourceImp.h"
|
||||
#include "Util/util.h"
|
||||
#include "Util/TimeTicker.h"
|
||||
#include "Network/TcpSession.h"
|
||||
#include "Network/Session.h"
|
||||
#include "Common/Stamp.h"
|
||||
|
||||
namespace mediakit {
|
||||
|
||||
class RtmpSession : public toolkit::TcpSession, public RtmpProtocol, public MediaSourceEvent {
|
||||
class RtmpSession : public toolkit::Session, public RtmpProtocol, public MediaSourceEvent {
|
||||
public:
|
||||
using Ptr = std::shared_ptr<RtmpSession>;
|
||||
|
||||
@@ -109,7 +109,7 @@ private:
|
||||
/**
|
||||
* 支持ssl加密的rtmp服务器
|
||||
*/
|
||||
using RtmpSessionWithSSL = toolkit::TcpSessionWithSSL<RtmpSession>;
|
||||
using RtmpSessionWithSSL = toolkit::SessionWithSSL<RtmpSession>;
|
||||
|
||||
} /* namespace mediakit */
|
||||
#endif /* SRC_RTMP_RTMPSESSION_H_ */
|
||||
|
||||
Reference in New Issue
Block a user