点播时间轴兼容VLC

This commit is contained in:
xiongziliang 2020-04-03 22:17:40 +08:00
parent 0a31b03064
commit d07161f18f

View File

@ -268,7 +268,8 @@ public:
if(dur_sec <= 0){ if(dur_sec <= 0){
_printer << "a=range:npt=now-\r\n"; _printer << "a=range:npt=now-\r\n";
}else{ }else{
_printer << "a=range:npt=now-" << dur_sec << "\r\n"; //点播情况下,vlc不支持支持npt=now-xxx, 但是貌似echo show只支持npt=now-xxx ?
_printer << "a=range:npt=0-" << dur_sec << "\r\n";
} }
_printer << "a=control:*\r\n"; _printer << "a=control:*\r\n";
} }