From 7e96f5999ce62b5fbcd8b1717af304ca36d1bd5f Mon Sep 17 00:00:00 2001 From: Saxon Date: Wed, 8 May 2019 15:47:11 +0930 Subject: [PATCH] protocol/rtp/client.go: updated comment for NewClient to remove mention of removed op argument --- protocol/rtp/client.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/protocol/rtp/client.go b/protocol/rtp/client.go index e8998917..ff4dda24 100644 --- a/protocol/rtp/client.go +++ b/protocol/rtp/client.go @@ -67,12 +67,8 @@ type Client struct { // NewClient returns a pointer to a new Client. // // addr is the address of form : that we expect to receive -// RTP at. op is a function, if non nil, that will be used to perform an -// operation on each received RTP packet. For example, the op func may parse -// out the RTP payload. The result of the operation is then what is stored -// in the ringBuffer for reading. l is a logging function defined by the -// signuture of the log type defined above. rt is the read timeout used when -// reading from the client ringbuffer. +// RTP at. l is a logging function defined by the signuture of the log type +// defined above. rt is the read timeout used when reading from the client ringbuffer. func NewClient(addr string, l log, rt time.Duration) (*Client, error) { c := &Client{ done: make(chan struct{}, chanSize),