mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 02:38:10 +08:00
整理MediaSource派生类代码
This commit is contained in:
@@ -49,9 +49,9 @@ public:
|
||||
|
||||
virtual ~RtspToRtmpMediaSource() {}
|
||||
|
||||
virtual void onGetSDP(const string &strSdp) override {
|
||||
virtual void setSdp(const string &strSdp) override {
|
||||
_demuxer = std::make_shared<RtspDemuxer>(strSdp);
|
||||
RtspMediaSource::onGetSDP(strSdp);
|
||||
RtspMediaSource::setSdp(strSdp);
|
||||
}
|
||||
|
||||
virtual void onWrite(const RtpPacket::Ptr &rtp, bool bKeyPos) override {
|
||||
|
||||
Reference in New Issue
Block a user