mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
rename ClientConn.OnFrame into ReadFrames
This commit is contained in:
@@ -130,7 +130,7 @@ outer:
|
||||
done <- errRet
|
||||
}
|
||||
|
||||
// Read starts reading requests and frames from the connection.
|
||||
// Read starts reading requests and frames.
|
||||
// it returns a channel that is written when the reading stops.
|
||||
func (sc *ServerConn) Read(
|
||||
onRequest func(req *base.Request) (*base.Response, error),
|
||||
|
Reference in New Issue
Block a user