Skip to content

Commit

Permalink
Merge pull request nareix#14 from dustinblackman/master
Browse files Browse the repository at this point in the history
Remove unused code
  • Loading branch information
nareix authored Nov 6, 2016
2 parents 1f76954 + 40b45c9 commit 234ce7d
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 234ce7d

Please sign in to comment.