spot: remove debug logs, 1.0.10
This commit is contained in:
parent
15da91385d
commit
44d0bb1369
3 changed files with 0 additions and 5 deletions
|
|
@ -667,7 +667,6 @@ export default defineBackground(() => {
|
||||||
if (recordingState.recording === REC_STATE.stopped) {
|
if (recordingState.recording === REC_STATE.stopped) {
|
||||||
return console.error('Calling stopped recording?')
|
return console.error('Calling stopped recording?')
|
||||||
}
|
}
|
||||||
console.log('calling stop')
|
|
||||||
browser.runtime
|
browser.runtime
|
||||||
.sendMessage({
|
.sendMessage({
|
||||||
type: messages.offscreen.to.stopRecording,
|
type: messages.offscreen.to.stopRecording,
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,6 @@ export default defineContentScript({
|
||||||
stopClickRecording();
|
stopClickRecording();
|
||||||
stopLocationRecording();
|
stopLocationRecording();
|
||||||
const result = await browser.runtime.sendMessage({ type: "ort:stop" });
|
const result = await browser.runtime.sendMessage({ type: "ort:stop" });
|
||||||
console.log('Spot getting video:', result)
|
|
||||||
if (result.status === "full") {
|
if (result.status === "full") {
|
||||||
chunksReady = true;
|
chunksReady = true;
|
||||||
data = result;
|
data = result;
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,6 @@ class ScreenRecorder {
|
||||||
this.mRecorder.start();
|
this.mRecorder.start();
|
||||||
this.isRecording = true;
|
this.isRecording = true;
|
||||||
this.trackDuration();
|
this.trackDuration();
|
||||||
console.log('started recording inside startRecording');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
|
@ -320,7 +319,6 @@ browser.runtime.onMessage.addListener((message, _, respond) => {
|
||||||
message.audioId,
|
message.audioId,
|
||||||
)
|
)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
console.log('started recording');
|
|
||||||
respond({ success: true, time: Date.now() });
|
respond({ success: true, time: Date.now() });
|
||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
|
|
@ -345,7 +343,6 @@ browser.runtime.onMessage.addListener((message, _, respond) => {
|
||||||
recorder.stop();
|
recorder.stop();
|
||||||
const duration = recorder.duration;
|
const duration = recorder.duration;
|
||||||
recorder.getVideoData().then((data) => {
|
recorder.getVideoData().then((data) => {
|
||||||
console.log(data)
|
|
||||||
if (!data.blob) {
|
if (!data.blob) {
|
||||||
respond({ status: "empty" });
|
respond({ status: "empty" });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue