mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +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() {
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user