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 {
|
if d != nil {
|
||||||
_, err = s.encoder.Write(d)
|
_, err = s.encoder.Write(d)
|
||||||
} else {
|
} 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
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue