From f03365efb177e758444954e91fcb1ff2ff46d321 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Fri, 3 Apr 2020 14:09:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98=E5=AF=B9echo=20show=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=9A=84=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtsp/Rtsp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rtsp/Rtsp.h b/src/Rtsp/Rtsp.h index 41cd64a4..12dd281a 100644 --- a/src/Rtsp/Rtsp.h +++ b/src/Rtsp/Rtsp.h @@ -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"; }