mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-29 22:42:00 -08:00
fix PAUSE with UDP (#157)"
This commit is contained in:
parent
007cfb33ae
commit
b3e9249158
1 changed files with 2 additions and 0 deletions
|
|
@ -778,6 +778,7 @@ func (c *Client) run() {
|
|||
}
|
||||
c.stopPlay()
|
||||
c.state = statePrePlay
|
||||
c.path.OnClientPause(c)
|
||||
|
||||
case stateRecord:
|
||||
if c.streamProtocol == gortsplib.StreamProtocolTCP {
|
||||
|
|
@ -786,6 +787,7 @@ func (c *Client) run() {
|
|||
}
|
||||
c.stopRecord()
|
||||
c.state = statePreRecord
|
||||
c.path.OnClientPause(c)
|
||||
}
|
||||
|
||||
return &base.Response{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue