mirror of https://bitbucket.org/ausocean/av.git
revid: updated some comments
This commit is contained in:
parent
d0d9e20c87
commit
aefdc46273
|
@ -118,7 +118,8 @@ type Revid struct {
|
|||
// destination is the target endpoint.
|
||||
destination []loadSender
|
||||
|
||||
// rtpSender
|
||||
// Rtp sending doesn't use ring buffer so we isolate this from Destination
|
||||
// above
|
||||
rtpSndr *rtpSender
|
||||
|
||||
// bitrate hold the last send bitrate calculation result.
|
||||
|
@ -150,7 +151,7 @@ func (p *packer) Write(frame []byte) (int, error) {
|
|||
return len(frame), nil
|
||||
}
|
||||
n, err := p.owner.buffer.Write(frame)
|
||||
// If we have an rtp sender bypass and give straight to sender
|
||||
// If we have an rtp sender bypass ringbuffer and give straight to sender
|
||||
if p.owner.rtpSndr != nil {
|
||||
err = p.owner.rtpSndr.send(frame)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue