精简rtp服务器相关代码

This commit is contained in:
ziyue
2022-11-18 16:42:40 +08:00
parent df14924a99
commit 255ccb4265
4 changed files with 6 additions and 16 deletions

View File

@@ -23,7 +23,6 @@ namespace mediakit{
class RtpSession : public toolkit::Session, public RtpSplitter, public MediaSourceEvent {
public:
static const std::string kStreamID;
static const std::string kIsUDP;
static const std::string kSSRC;
RtpSession(const toolkit::Socket::Ptr &sock);
@@ -50,8 +49,6 @@ private:
std::string _stream_id;
struct sockaddr_storage _addr;
RtpProcess::Ptr _process;
std::shared_ptr<toolkit::ObjectStatistic<toolkit::TcpSession> > _statistic_tcp;
std::shared_ptr<toolkit::ObjectStatistic<toolkit::UdpSession> > _statistic_udp;
};
}//namespace mediakit