spot: remove debug logs, 1.0.10

This commit is contained in:
nick-delirium 2024-10-11 10:37:10 +02:00
parent 15da91385d
commit 44d0bb1369
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
3 changed files with 0 additions and 5 deletions

View file

@ -667,7 +667,6 @@ export default defineBackground(() => {
if (recordingState.recording === REC_STATE.stopped) {
return console.error('Calling stopped recording?')
}
console.log('calling stop')
browser.runtime
.sendMessage({
type: messages.offscreen.to.stopRecording,

View file

@ -125,7 +125,6 @@ export default defineContentScript({
stopClickRecording();
stopLocationRecording();
const result = await browser.runtime.sendMessage({ type: "ort:stop" });
console.log('Spot getting video:', result)
if (result.status === "full") {
chunksReady = true;
data = result;

View file

@ -127,7 +127,6 @@ class ScreenRecorder {
this.mRecorder.start();
this.isRecording = true;
this.trackDuration();
console.log('started recording inside startRecording');
}
stop() {
@ -320,7 +319,6 @@ browser.runtime.onMessage.addListener((message, _, respond) => {
message.audioId,
)
.then(() => {
console.log('started recording');
respond({ success: true, time: Date.now() });
})
.catch(e => {
@ -345,7 +343,6 @@ browser.runtime.onMessage.addListener((message, _, respond) => {
recorder.stop();
const duration = recorder.duration;
recorder.getVideoData().then((data) => {
console.log(data)
if (!data.blob) {
respond({ status: "empty" });
}