mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复拉取srs rtmp 流 play 命令参数类型不对的bug(参考vlc -2000 为number 类型) (#1644)
This commit is contained in:
parent
c7d7999f53
commit
b61cce85bd
@ -209,7 +209,7 @@ inline void RtmpPlayer::send_createStream() {
|
|||||||
|
|
||||||
inline void RtmpPlayer::send_play() {
|
inline void RtmpPlayer::send_play() {
|
||||||
AMFEncoder enc;
|
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());
|
sendRequest(MSG_CMD, enc.data());
|
||||||
auto fun = [](AMFValue &val) {
|
auto fun = [](AMFValue &val) {
|
||||||
//TraceL << "play onStatus";
|
//TraceL << "play onStatus";
|
||||||
|
Loading…
Reference in New Issue
Block a user