mirror of https://bitbucket.org/ausocean/av.git
protocol/rtcp/client.go: moved err chan to bottom of fields list.
This commit is contained in:
parent
9b3523607b
commit
040cd18db3
|
@ -54,8 +54,6 @@ type log func(lvl int8, msg string, args ...interface{})
|
|||
// Client is an RTCP Client that will handle receiving SenderReports from a server
|
||||
// and sending out ReceiverReports.
|
||||
type Client struct {
|
||||
err chan error // Client will send any errors through this chan. Can be accessed by Err().
|
||||
|
||||
cAddr *net.UDPAddr // Address of client.
|
||||
sAddr *net.UDPAddr // Address of RTSP server.
|
||||
name string // Name of the client for source description purposes.
|
||||
|
@ -71,6 +69,8 @@ type Client struct {
|
|||
quitSend chan struct{} // Channel used to communicate quit signal to send routine.
|
||||
quitRecv chan struct{} // Channel used to communicate quit signal to recv routine.
|
||||
log // Used to log any messages.
|
||||
|
||||
err chan error // Client will send any errors through this chan. Can be accessed by Err().
|
||||
}
|
||||
|
||||
// NewClient returns a pointer to a new Client.
|
||||
|
|
Loading…
Reference in New Issue