Skip to content

Commit

Permalink
v7.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed May 25, 2022
1 parent f26aaca commit 049e017
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gleap",
"version": "7.0.4",
"version": "7.0.5",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
2 changes: 1 addition & 1 deletion src/GleapMarkerManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default class GleapMarkerManager {
${loadIcon("mic")}
<span class="bb-tooltip bb-tooltip-audio-recording"></span>
</div>
<div class="bb-capture-toolbar-item-timer bb-capture-item-rec">3:00</div>
<div class="bb-capture-toolbar-item-timer bb-capture-item-rec">2:00</div>
<div class="bb-capture-toolbar-item-spacer"></div>
<div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="pointer">
${loadIcon("pointer")}
Expand Down
8 changes: 3 additions & 5 deletions src/GleapScreenRecorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class GleapScreenRecorder {
available = true;
isRecording = false;
file = null;
maxRecordTime = 60;
maxRecordTime = 120;
recordTime = 0;
recordingTimer = null;
permissionErrorText = "";
Expand Down Expand Up @@ -43,7 +43,7 @@ export class GleapScreenRecorder {
}

navigator.mediaDevices
.getDisplayMedia({ video: true, audio: true })
.getDisplayMedia({ video: { width: 1280 }, audio: true })
.then(function (displayStream) {
self.stream = displayStream;

Expand Down Expand Up @@ -173,7 +173,7 @@ export class GleapScreenRecorder {
if (remainingTime > 0) {
timerLabel.innerHTML = self.formatTime(remainingTime);
} else {
timerLabel.innerHTML = "1:00";
timerLabel.innerHTML = "2:00";
self.stopScreenRecording();
}
}, 1000);
Expand Down Expand Up @@ -205,8 +205,6 @@ export class GleapScreenRecorder {
type: "video/mp4",
});

console.log(this.file.size);

const previewVideoElement = document.querySelector(
".bb-capture-preview video"
);
Expand Down

0 comments on commit 049e017

Please sign in to comment.