From aefdc46273fffed4b958c59532bd4ee7450f7704 Mon Sep 17 00:00:00 2001 From: saxon Date: Wed, 2 Jan 2019 08:50:59 +1030 Subject: [PATCH] revid: updated some comments --- revid/revid.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/revid/revid.go b/revid/revid.go index b4f7ac9d..3ab67e7f 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -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 {