enable keyframe interval when recording
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
8d830382de
commit
9905695699
15 changed files with 105 additions and 45 deletions
|
|
@ -1532,12 +1532,13 @@ class RecordingModel with ChangeNotifier {
|
|||
sessionId: sessionId, start: true, width: width, height: height);
|
||||
}
|
||||
|
||||
toggle() {
|
||||
toggle() async {
|
||||
if (isIOS) return;
|
||||
final sessionId = parent.target?.sessionId;
|
||||
if (sessionId == null) return;
|
||||
_start = !_start;
|
||||
notifyListeners();
|
||||
await bind.sessionRecordStatus(sessionId: sessionId, status: _start);
|
||||
if (_start) {
|
||||
bind.sessionRefresh(sessionId: sessionId);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue