duration: recordingDuration.duration
}
+ function resetToolBar() {
+ if (toolBar.depth() > 1) {
+ toolBar.pop()
+ }
+ }
+
function doStartRecording() {
if (!overlay.recording) {
return
trackerStore.storeVideo(file);
- if (toolBar.depth() > 1) {
- toolBar.pop()
- }
+ resetToolBar()
}
function startRecording() {
}
}
+ function cameraDeviceChanged() {
+ resetToolBar()
+ }
}