commit
234ce7d028
@ -459,16 +459,6 @@ func (self *Conn) readConnect() (err error) {
|
|||||||
cberr = self.OnPlayOrPublish(self.commandname, connectparams)
|
cberr = self.OnPlayOrPublish(self.commandname, connectparams)
|
||||||
}
|
}
|
||||||
|
|
||||||
var code string
|
|
||||||
var description string
|
|
||||||
if cberr != nil {
|
|
||||||
code = "NetStream.Publish.Failed"
|
|
||||||
description = cberr.Error()
|
|
||||||
} else {
|
|
||||||
code = "NetStream.Publish.Start"
|
|
||||||
description = "Start publishing"
|
|
||||||
}
|
|
||||||
|
|
||||||
// > onStatus()
|
// > onStatus()
|
||||||
if err = self.writeCommandMsg(5, self.avmsgsid,
|
if err = self.writeCommandMsg(5, self.avmsgsid,
|
||||||
"onStatus", self.commandtransid, nil,
|
"onStatus", self.commandtransid, nil,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user