mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
提高对echo show设备的兼容性
This commit is contained in:
parent
40a7b5b5b4
commit
f03365efb1
@ -266,9 +266,9 @@ public:
|
||||
}
|
||||
|
||||
if(dur_sec <= 0){
|
||||
_printer << "a=range:npt=0-\r\n";
|
||||
_printer << "a=range:npt=now-\r\n";
|
||||
}else{
|
||||
_printer << "a=range:npt=0-" << dur_sec << "\r\n";
|
||||
_printer << "a=range:npt=now-" << dur_sec << "\r\n";
|
||||
}
|
||||
_printer << "a=control:*\r\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user