* use preview recording
This commit is contained in:
parent
51689e3d61
commit
2b7ebe1ce1
|
|
@ -67,7 +67,7 @@
|
|||
else {
|
||||
|
||||
// load recording
|
||||
var openRecordingResult = context.jamClient.OpenRecording(recording);
|
||||
var openRecordingResult = context.jamClient.PreviewRecording(recording);
|
||||
|
||||
logger.debug("OpenRecording response: %o", openRecordingResult);
|
||||
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
function afterHide() {
|
||||
recording = null;
|
||||
playbackControls.stopMonitor();
|
||||
context.jamClient.CloseRecording();
|
||||
context.jamClient.ClosePreviewRecording();
|
||||
}
|
||||
|
||||
function discardRecording(e) {
|
||||
|
|
|
|||
|
|
@ -881,7 +881,11 @@
|
|||
function OpenRecording(claimedRecording) {
|
||||
return {success: true}
|
||||
}
|
||||
function PreviewRecording(claimedRecording) {
|
||||
return OpenRecording(claimedRecording);
|
||||
}
|
||||
function CloseRecording() {}
|
||||
function ClosePreviewRecording() {CloseRecording();}
|
||||
function OnDownloadAvailable() {}
|
||||
function SaveToClipboard(text) {}
|
||||
function IsNativeClient() { /* must always return false in all scenarios due to not ruin scoring !*/ return false; }
|
||||
|
|
@ -1099,6 +1103,8 @@
|
|||
this.GetLocalRecordingState = GetLocalRecordingState;
|
||||
this.OpenRecording = OpenRecording;
|
||||
this.CloseRecording = CloseRecording;
|
||||
this.PreviewRecording = PreviewRecording;
|
||||
this.ClosePreviewRecording = ClosePreviewRecording;
|
||||
this.OnDownloadAvailable = OnDownloadAvailable;
|
||||
|
||||
// Clipboard
|
||||
|
|
|
|||
Loading…
Reference in New Issue