From b61cce85bd1d51c0904fdf00fd1f1555e013012b Mon Sep 17 00:00:00 2001 From: xiongguangjie Date: Thu, 19 May 2022 19:01:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=89=E5=8F=96srs=20rtmp?= =?UTF-8?q?=20=E6=B5=81=20play=20=E5=91=BD=E4=BB=A4=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8D=E5=AF=B9=E7=9A=84bug(=E5=8F=82?= =?UTF-8?q?=E8=80=83vlc=20-2000=20=E4=B8=BAnumber=20=E7=B1=BB=E5=9E=8B)=20?= =?UTF-8?q?(#1644)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtmp/RtmpPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rtmp/RtmpPlayer.cpp b/src/Rtmp/RtmpPlayer.cpp index 440a91a7..ceddaa01 100644 --- a/src/Rtmp/RtmpPlayer.cpp +++ b/src/Rtmp/RtmpPlayer.cpp @@ -209,7 +209,7 @@ inline void RtmpPlayer::send_createStream() { inline void RtmpPlayer::send_play() { AMFEncoder enc; - enc << "play" << ++_send_req_id << nullptr << _stream_id << "-2000"; + enc << "play" << ++_send_req_id << nullptr << _stream_id << -2000; sendRequest(MSG_CMD, enc.data()); auto fun = [](AMFValue &val) { //TraceL << "play onStatus";