mirror of https://bitbucket.org/ausocean/av.git
Removed unused extras from rtmp.link.
This commit is contained in:
parent
e0a4c39c8b
commit
40806d4de7
|
@ -408,13 +408,6 @@ func sendConnectPacket(s *Session) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for i := range s.link.extras.Properties {
|
|
||||||
enc, err = amf.PropEncode(&s.link.extras.Properties[i], enc)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkt.bodySize = uint32((len(pbuf) - fullHeaderSize) - len(enc))
|
pkt.bodySize = uint32((len(pbuf) - fullHeaderSize) - len(enc))
|
||||||
|
|
||||||
return pkt.write(s, true) // response expected
|
return pkt.write(s, true) // response expected
|
||||||
|
|
|
@ -81,7 +81,6 @@ type link struct {
|
||||||
auth string
|
auth string
|
||||||
flashVer string
|
flashVer string
|
||||||
token string
|
token string
|
||||||
extras amf.Object
|
|
||||||
flags int32
|
flags int32
|
||||||
swfAge int32
|
swfAge int32
|
||||||
protocol int32
|
protocol int32
|
||||||
|
|
Loading…
Reference in New Issue