mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
修复未初始化导致的bug
This commit is contained in:
parent
003021e24b
commit
56397628da
@ -156,7 +156,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
RtmpMediaSourceMuxer::Ptr _rtmp;
|
RtmpMediaSourceMuxer::Ptr _rtmp;
|
||||||
RtspMediaSourceMuxer::Ptr _rtsp;
|
RtspMediaSourceMuxer::Ptr _rtsp;
|
||||||
Listener *_listener;
|
Listener *_listener = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -282,7 +282,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
void onAddTrack(const Track::Ptr &track);
|
void onAddTrack(const Track::Ptr &track);
|
||||||
protected:
|
protected:
|
||||||
Listener *_listener;
|
Listener *_listener = nullptr;
|
||||||
AudioTrack::Ptr _audioTrack;
|
AudioTrack::Ptr _audioTrack;
|
||||||
VideoTrack::Ptr _videoTrack;
|
VideoTrack::Ptr _videoTrack;
|
||||||
Ticker _ticker;
|
Ticker _ticker;
|
||||||
|
Loading…
Reference in New Issue
Block a user