mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 11:38:11 +08:00
整理MediaSource代码
This commit is contained in:
@@ -43,7 +43,8 @@ public:
|
||||
RtspToRtmpMediaSource(const string &vhost,
|
||||
const string &app,
|
||||
const string &id,
|
||||
int ringSize = 0) : RtspMediaSource(vhost, app, id,ringSize) {
|
||||
int ringSize = 0)
|
||||
: RtspMediaSource(vhost, app, id,ringSize) {
|
||||
}
|
||||
|
||||
virtual ~RtspToRtmpMediaSource() {}
|
||||
@@ -69,7 +70,7 @@ public:
|
||||
_muxer->addTrack(track);
|
||||
track->addDelegate(_muxer);
|
||||
}
|
||||
_muxer->setListener(_listener);
|
||||
_muxer->setListener(getListener());
|
||||
}
|
||||
}
|
||||
RtspMediaSource::onWrite(rtp, bKeyPos);
|
||||
|
||||
Reference in New Issue
Block a user