修改rtpprocess 对象继承(MediaSourceEventInterceptor -->MediaSourceEvent)
This commit is contained in:
parent
1695624732
commit
176c4e3b25
|
|
@ -20,7 +20,7 @@ namespace mediakit {
|
||||||
|
|
||||||
static constexpr char kRtpAppName[] = "rtp";
|
static constexpr char kRtpAppName[] = "rtp";
|
||||||
|
|
||||||
class RtpProcess final : public RtcpContextForRecv, public toolkit::SockInfo, public MediaSinkInterface, public MediaSourceEventInterceptor, public std::enable_shared_from_this<RtpProcess>{
|
class RtpProcess final : public RtcpContextForRecv, public toolkit::SockInfo, public MediaSinkInterface, public MediaSourceEvent, public std::enable_shared_from_this<RtpProcess>{
|
||||||
public:
|
public:
|
||||||
using Ptr = std::shared_ptr<RtpProcess>;
|
using Ptr = std::shared_ptr<RtpProcess>;
|
||||||
using onDetachCB = std::function<void(const toolkit::SockException &ex)>;
|
using onDetachCB = std::function<void(const toolkit::SockException &ex)>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue