LTS: Improved seek function for real-time protocols: RTSP
This commit is contained in:
parent
84de51ab8c
commit
992eb137e5
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ namespace Mist{
|
||||||
if (!range.empty()){
|
if (!range.empty()){
|
||||||
range = range.substr(0, range.find('-'));
|
range = range.substr(0, range.find('-'));
|
||||||
uint64_t targetPos = 1000 * atof(range.c_str());
|
uint64_t targetPos = 1000 * atof(range.c_str());
|
||||||
if (targetPos || myMeta.vod){seek(targetPos);}
|
if (targetPos || myMeta.vod){seek(targetPos, true);}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::stringstream rangeStr;
|
std::stringstream rangeStr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue