mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-21 01:13:37 +08:00
规范命名
This commit is contained in:
parent
8f8eda9337
commit
d0a73d0f97
@ -79,8 +79,8 @@ public:
|
||||
return _rtsp->readerCount() + _rtmp->readerCount();
|
||||
}
|
||||
|
||||
void updateTimeStamp(uint32_t stamp){
|
||||
_rtsp->updateTimeStamp(stamp);
|
||||
void setTimeStamp(uint32_t stamp){
|
||||
_rtsp->setTimeStamp(stamp);
|
||||
}
|
||||
private:
|
||||
RtmpMediaSourceMuxer::Ptr _rtmp;
|
||||
|
@ -306,7 +306,7 @@ void MediaReader::seek(int iSeekTime,bool bReStart){
|
||||
setSeekTime(iSeekTime);
|
||||
}
|
||||
}
|
||||
_pChn->updateTimeStamp(_iSeekTime);
|
||||
_pChn->setTimeStamp(_iSeekTime);
|
||||
|
||||
if(bReStart){
|
||||
AsyncTaskThread::Instance().CancelTask(reinterpret_cast<uint64_t>(this));
|
||||
|
@ -92,7 +92,7 @@ public:
|
||||
return track->_time_stamp;
|
||||
}
|
||||
|
||||
void updateTimeStamp(uint32_t uiStamp) {
|
||||
void setTimeStamp(uint32_t uiStamp) {
|
||||
auto tracks = _sdpAttr.getAvailableTrack();
|
||||
for (auto &track : tracks) {
|
||||
track->_time_stamp = uiStamp;
|
||||
|
@ -51,8 +51,8 @@ public:
|
||||
int readerCount() const{
|
||||
return _mediaSouce->getRing()->readerCount();
|
||||
}
|
||||
void updateTimeStamp(uint32_t stamp){
|
||||
_mediaSouce->updateTimeStamp(stamp);
|
||||
void setTimeStamp(uint32_t stamp){
|
||||
_mediaSouce->setTimeStamp(stamp);
|
||||
}
|
||||
private:
|
||||
void onInited() override {
|
||||
|
Loading…
Reference in New Issue
Block a user