mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
fix comments
This commit is contained in:
@@ -212,7 +212,7 @@ type Client struct {
|
|||||||
tcpReadBuffer *multibuffer.MultiBuffer
|
tcpReadBuffer *multibuffer.MultiBuffer
|
||||||
tcpWriteMutex sync.Mutex
|
tcpWriteMutex sync.Mutex
|
||||||
writeMutex sync.RWMutex // publish
|
writeMutex sync.RWMutex // publish
|
||||||
writeFrameAllowed bool // publilsh
|
writeFrameAllowed bool // publish
|
||||||
udpReportTimer *time.Timer
|
udpReportTimer *time.Timer
|
||||||
checkStreamTimer *time.Timer
|
checkStreamTimer *time.Timer
|
||||||
checkStreamInitial bool
|
checkStreamInitial bool
|
||||||
@@ -544,7 +544,7 @@ func (c *Client) run() {
|
|||||||
case <-c.keepaliveTimer.C:
|
case <-c.keepaliveTimer.C:
|
||||||
_, err := c.do(&base.Request{
|
_, err := c.do(&base.Request{
|
||||||
Method: func() base.Method {
|
Method: func() base.Method {
|
||||||
// the vlc integrated rtsp server requires GET_PARAMETER
|
// the VLC integrated rtsp server requires GET_PARAMETER
|
||||||
if c.useGetParameter {
|
if c.useGetParameter {
|
||||||
return base.GetParameter
|
return base.GetParameter
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user