mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-30 06:42:22 +08:00
添加rtsp推流器
整理代码
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
fProgress = MAX(float(0),MIN(fProgress,float(1.0)));
|
||||
seekToMilliSecond(fProgress * getDuration() * 1000);
|
||||
};
|
||||
void play(const char* strUrl) override {
|
||||
void play(const string &strUrl) override {
|
||||
_analysisMs = (*this)[PlayerBase::kMaxAnalysisMS].as<int>();
|
||||
PlayerImp<RtmpPlayer,RtmpDemuxer>::play(strUrl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user