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