mirror of https://bitbucket.org/ausocean/av.git
rtp: updated error message to suit new rtpSender.send() function
This commit is contained in:
parent
5f20086440
commit
26a43d54bb
|
@ -388,7 +388,7 @@ func (s *rtpSender) send(d []byte) error {
|
|||
if d != nil {
|
||||
_, err = s.encoder.Write(d)
|
||||
} else {
|
||||
err = errors.New("no data to send provided, but rtpSender chunk is also empty")
|
||||
err = errors.New("no data to send provided")
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue