Browse Source

rtmp: set right command ID when replying to a play request

pull/1128/head
aler9 3 years ago
parent
commit
a19a20abfb
  1. 2
      internal/rtmp/conn.go

2
internal/rtmp/conn.go

@ -510,7 +510,7 @@ func (c *Conn) InitializeServer() (*url.URL, bool, error) { @@ -510,7 +510,7 @@ func (c *Conn) InitializeServer() (*url.URL, bool, error) {
ChunkStreamID: 5,
MessageStreamID: 0x1000000,
Name: "onStatus",
CommandID: 4,
CommandID: cmd.CommandID,
Arguments: []interface{}{
nil,
flvio.AMFMap{

Loading…
Cancel
Save