Skip to content

Commit

Permalink
Fix flv未接收到起始段 #118
Browse files Browse the repository at this point in the history
  • Loading branch information
qydysky committed Jun 5, 2024
1 parent 8bac838 commit 26fd1e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Reply/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ func (t *M4SStream) saveStreamFlv() (e error) {
}
if len(front_buf) != 0 && len(t.first_buf) == 0 {
t.first_buf = make([]byte, len(front_buf))
copy(t.first_buf, front_buf)
// fmt.Println("write front_buf")
// t.Stream_msg.PushLock_tag(`data`, t.first_buf)
t.msg.Push_tag(`load`, t)
Expand Down

0 comments on commit 26fd1e8

Please sign in to comment.