Searched refs:currentSegment (Results 1 – 2 of 2) sorted by relevance
183 std::shared_ptr<DashBufferSegment> currentSegment = GetCurrentSegment(); in Read() local185 if (currentSegment != nullptr) { in Read()186 currentStreamId = currentSegment->streamId_; in Read()221 if (currentSegment != nullptr) { in GetMaxReadLength()437 std::shared_ptr<DashBufferSegment> currentSegment; in GetCurrentSegment() local445 currentSegment = *it; in GetCurrentSegment()448 return currentSegment; in GetCurrentSegment()1083 if (buffer_->GetHead() > currentSegment->bufferPosHead_) { in GetSegmentRemainDuration()1084 … return (((currentSegment->bufferPosTail_ - buffer_->GetHead()) * currentSegment->duration_) / in GetSegmentRemainDuration()1085 (currentSegment->bufferPosTail_ - currentSegment->bufferPosHead_)); in GetSegmentRemainDuration()[all …]
178 uint32_t GetSegmentRemainDuration(const std::shared_ptr<DashBufferSegment>& currentSegment);190 …GetMaxReadLength(uint32_t wantReadLength, const std::shared_ptr<DashBufferSegment> ¤tSegment,