mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: intialising err from rtp send
This commit is contained in:
parent
f4be7e72d7
commit
ad04893432
|
@ -160,7 +160,7 @@ func (p *packer) Write(frame []byte) (int, error) {
|
|||
|
||||
// If we have an rtp sender bypass ringbuffer and give straight to sender
|
||||
if p.owner.rtpSender != nil {
|
||||
err = p.owner.rtpSender.send(frame)
|
||||
err := p.owner.rtpSender.send(frame)
|
||||
if err != nil {
|
||||
p.owner.config.Logger.Log(logger.Error, pkg+"rtp send failed with error", "error", err.Error())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue