LTS: Improved seek function for real-time protocols: RTSP

This commit is contained in:
Thulinma 2018-08-08 12:26:46 +02:00
parent 84de51ab8c
commit 992eb137e5

View file

@ -317,7 +317,7 @@ namespace Mist{
if (!range.empty()){
range = range.substr(0, range.find('-'));
uint64_t targetPos = 1000 * atof(range.c_str());
if (targetPos || myMeta.vod){seek(targetPos);}
if (targetPos || myMeta.vod){seek(targetPos, true);}
}
}
std::stringstream rangeStr;