Skip to content

Commit

Permalink
コスメ
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Nov 8, 2024
1 parent 266f297 commit 883deb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,9 @@ func silentPacket(audioStreamingHeader bool) []byte {
unixTime := make([]byte, 8)
binary.BigEndian.PutUint64(unixTime, uint64(t.UnixMicro()))

seqNum := []byte{0, 0, 0, 0, 0, 0, 0, 0}
// 0 で固定
seqNum := make([]byte, 8)

length := make([]byte, 4)
binary.BigEndian.PutUint32(length, uint32(len(silentPacket)))

Expand Down

0 comments on commit 883deb1

Please sign in to comment.