Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Nov 5, 2016
1 parent 1f76954 commit 40b45c9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions format/rtmp/rtmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,16 +459,6 @@ func (self *Conn) readConnect() (err error) {
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()
if err = self.writeCommandMsg(5, self.avmsgsid,
"onStatus", self.commandtransid, nil,
Expand Down

0 comments on commit 40b45c9

Please sign in to comment.