mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
fix: save dialog into gb.dialogs for pause/resume gb28181 record
This commit is contained in:
@@ -326,6 +326,7 @@ func (d *Dialog) Start() (err error) {
|
||||
"broadcastPushAfterAck": device.BroadcastPushAfterAck,
|
||||
})
|
||||
d.pullCtx.GoToStepConst(StepResponseWait)
|
||||
d.gb.dialogs.Set(d)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -522,4 +523,5 @@ func (d *Dialog) Dispose() {
|
||||
d.Error("listener dialog bye bye", " err", err)
|
||||
}
|
||||
}
|
||||
d.gb.dialogs.Remove(d)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user