rtp: updated error message to suit new rtpSender.send() function

This commit is contained in:
saxon 2019-01-03 13:01:35 +10:30
parent 5f20086440
commit 26a43d54bb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}