mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
点播时间轴兼容VLC
This commit is contained in:
parent
0a31b03064
commit
d07161f18f
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user