rtmp client: fix play command id

This commit is contained in:
aler9 2022-08-22 10:57:29 +02:00
parent d4945ab7bc
commit 59391a4366
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ func (c *Conn) InitializeClient(u *url.URL, isPublishing bool) error {
ChunkStreamID: 4,
MessageStreamID: 0x1000000,
Name: "play",
CommandID: 0,
CommandID: 3,
Arguments: []interface{}{
nil,
actionpath,

View File

@ -130,7 +130,7 @@ func TestInitializeClient(t *testing.T) {
ChunkStreamID: 4,
MessageStreamID: 0x1000000,
Name: "play",
CommandID: 0,
CommandID: 3,
Arguments: []interface{}{
nil,
"",