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),