this._content._videostream.connect(); if ($debug) Debug.write("getFlvRecordingLog flvRecordingId ",this.getFlvRecordingLog.flvRecordingId); this.getFlvRecordingLog.doCall(); return canvas.sessionId; return parent.flvRecordingId; "+canvas.getLabelName(889); for (var i = 0;i' + value[i].msgType + '
' + value[i].fullMessage + '
' + value[i].exitValue + '
'; } if ($debug) Debug.write("getFlvRecordingLog: "); new lz.messageRecordingWin(canvas,{error:tLogString,labelTitleId:903}); ]]>
return canvas.sessionId; return parent.flvRecordingId; return parent.left; return parent.right; return parent.leftTime; return parent.rightTime; if ($debug) Debug.write("restartInterviewConversion: ",value); new lz.errorPopup(canvas,{error:"Re-Sampling Started, that can take some time, click on the Interview to get the status "}); "+canvas.getLabelName(889); this.recordingLog = ""; this.recordingName = recording.fileHash; this.getFlvRecordingLog.flvRecordingId = recording.flvRecordingId; this.restartInterviewConversion.flvRecordingId = recording.flvRecordingId; //Check if recording is not yet completed or if it has failed // *** This is disabled for now as the Log can grow too big *** for (var i = 0;i' + recording.flvRecordingLog[i].msgType + '
' + recording.flvRecordingLog[i].fullMessage + '
'; } this.recordingLog += headerMessage + parseDateToStringTimeSeconds(recording.flvRecordingLog[i].inserted) + '
' + recording.flvRecordingLog[i].msgType + '
' + recording.flvRecordingLog[i].fullMessage + '
'; } if (hasFailed) { if ($debug) Debug.write("tLogString "+tLogString); //var tString = canvas.getLabelName(887) + tLogString; new lz.messageRecordingWin(canvas,{error:tLogString,labelTitleId:887}); } if (recording.previewImage != null && recording.previewImage != "") { this.recordingName = recording.fileHash; this._content.initW = recording.flvWidth; this._content.initH = recording.flvHeight; var downloadurl = canvas.getUrl() + 'DownloadHandler?fileName='+recording.previewImage +'&moduleName=lzRecorderApp&parentPath=&room_id=' +'&sid='+canvas.sessionId; if($debug) Debug.write("lzRecorder/downloadurl "+downloadurl); this._content._preview.imagePreview.setAttribute("src",downloadurl) this._content._preview.bringToFront(); this._content.setItemContraints(0); this.deltaInSeconds = Math.round((recording.recordEnd.getTime() - recording.recordStart.getTime())/1000); if ($debug) Debug.write("deltaInSeconds ",this.deltaInSeconds); var minutes = Math.floor(this.deltaInSeconds/60); if ($debug) Debug.write("minutes ",minutes); var restSeconds = this.deltaInSeconds - ( minutes * 60 ); this._progress._progressbar._duration.setAttribute("text",minutes+" min "+restSeconds+" sec"); } else { var error = canvas.getLabelName(888); if (recording.isInterview) { error += "
" + canvas.getLabelName(919) + " " + recording.progressPostProcessing + "%"; } new lz.labelerrorPopup(canvas,{error:error}); } ]]>
60) { var minutes = Math.floor(flvTime/60); var restSeconds = Math.round(flvTime) - ( minutes * 60 ); tString = minutes + " min " + restSeconds + " sec"; } else { tString = Math.round(flvTime) + " sec"; } this._progress._progressbar._time.setAttribute("text",tString); var tNewX = Math.round((this._progress._progressbar.width / this.deltaInSeconds) * flvTime); this._progress._progressbar._pointer.setAttribute("x",tNewX); ]]> if ($debug) Debug.write("startStream ",this.recordingName); if (this.recordingName != "") { this.isPaused = false; if (!this.timerDelegateStarted) { this.timerDelegateStarted = true; } this._content._videostream.bringToFront(); this._content._videostream.playStream(this.recordingName,0); } if (this.timerDelegateStarted) { this.pauseStream(); } else { this.startStream(); } this.isPaused = !this.isPaused; this._content._videostream.pause(this.isPaused); this._stopStream(); this._content._videostream.stopAndCloseConnection(); this._stopStream(); this._content._videostream.stop(); if (this.timerDelegateStarted) { this.timerDelegateStarted = false; } parent._recordingsViewBottom.stopProgress(); this._progress._progressbar._time.setAttribute("text",""); this._progress._progressbar._pointer.setAttribute("x",0); if ($debug) Debug.write("onclick -- toggleStream"); parent.parent.toggleStream(); this.updateRecordingVideoPosition(); this.updateRecordingVideoPosition(); if ($debug) Debug.write("onUpdateRecordingStreamTime "); parent.parent.calcProgressBar(); if ($debug) Debug.write("onTogglePlayRecordingStream "); parent.parent.toggleStream(); if ($debug) Debug.write("onRecordingStoppedAndDisconnected "); parent.parent.onRecordingStoppedAndDisconnected.sendEvent(); this.setAttribute("bgcolor",0xFFFFFF); this.setAttribute("bgcolor",canvas.getThemeColor('baseMouseOvercolorizer')); parent.parent.startStream(); parent.parent.seekStream(this.getMouse("x")); this.setAttribute("bgcolor",0xFFFFFF); this.setAttribute("bgcolor",canvas.getThemeColor('baseMouseOvercolorizer')); parent.parent.stopStream();