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
|
// Client is an RTCP Client that will handle receiving SenderReports from a server
|
||||||
// and sending out ReceiverReports.
|
// and sending out ReceiverReports.
|
||||||
type Client struct {
|
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.
|
cAddr *net.UDPAddr // Address of client.
|
||||||
sAddr *net.UDPAddr // Address of RTSP server.
|
sAddr *net.UDPAddr // Address of RTSP server.
|
||||||
name string // Name of the client for source description purposes.
|
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.
|
quitSend chan struct{} // Channel used to communicate quit signal to send routine.
|
||||||
quitRecv chan struct{} // Channel used to communicate quit signal to recv routine.
|
quitRecv chan struct{} // Channel used to communicate quit signal to recv routine.
|
||||||
log // Used to log any messages.
|
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.
|
// NewClient returns a pointer to a new Client.
|
||||||
|
|
Loading…
Reference in New Issue