mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-04-05 06:25:18 +00:00
Add audio stream close
This commit is contained in:
parent
276e31b111
commit
c80ecd2d3b
4 changed files with 22 additions and 5 deletions
|
|
@ -102,9 +102,7 @@ func (s *controlStream) sendDisconnect() {
|
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})
|
||||
s.common.send([]byte{0x10, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
|
||||
byte(s.common.localSID >> 24), byte(s.common.localSID >> 16), byte(s.common.localSID >> 8), byte(s.common.localSID),
|
||||
byte(s.common.remoteSID >> 24), byte(s.common.remoteSID >> 16), byte(s.common.remoteSID >> 8), byte(s.common.remoteSID)})
|
||||
s.common.sendDisconnect()
|
||||
}
|
||||
|
||||
func (s *controlStream) sendPkt0() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue