protocol/rtcp/client.go: moved err chan to bottom of fields list.

This commit is contained in:
Saxon 2019-05-08 13:48:12 +09:30
parent 9b3523607b
commit 040cd18db3
1 changed files with 2 additions and 2 deletions

View File

@ -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.