提高对echo show设备的兼容性

This commit is contained in:
xiongziliang 2020-04-03 14:09:03 +08:00
parent 40a7b5b5b4
commit f03365efb1

View File

@ -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";
}