mirror of https://bitbucket.org/ausocean/av.git
protocol/rtp/client.go: updated comment for NewClient to remove mention of removed op argument
This commit is contained in:
parent
aa7553947a
commit
7e96f5999c
|
@ -67,12 +67,8 @@ type Client struct {
|
||||||
// NewClient returns a pointer to a new Client.
|
// NewClient returns a pointer to a new Client.
|
||||||
//
|
//
|
||||||
// addr is the address of form <ip>:<port> that we expect to receive
|
// addr is the address of form <ip>:<port> that we expect to receive
|
||||||
// RTP at. op is a function, if non nil, that will be used to perform an
|
// RTP at. l is a logging function defined by the signuture of the log type
|
||||||
// operation on each received RTP packet. For example, the op func may parse
|
// defined above. rt is the read timeout used when reading from the client ringbuffer.
|
||||||
// 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.
|
|
||||||
func NewClient(addr string, l log, rt time.Duration) (*Client, error) {
|
func NewClient(addr string, l log, rt time.Duration) (*Client, error) {
|
||||||
c := &Client{
|
c := &Client{
|
||||||
done: make(chan struct{}, chanSize),
|
done: make(chan struct{}, chanSize),
|
||||||
|
|
Loading…
Reference in New Issue