Skip to content

Commit 049e017

Browse files
committed
v7.0.5
1 parent f26aaca commit 049e017

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "7.0.4",
3+
"version": "7.0.5",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",

src/GleapMarkerManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export default class GleapMarkerManager {
183183
${loadIcon("mic")}
184184
<span class="bb-tooltip bb-tooltip-audio-recording"></span>
185185
</div>
186-
<div class="bb-capture-toolbar-item-timer bb-capture-item-rec">3:00</div>
186+
<div class="bb-capture-toolbar-item-timer bb-capture-item-rec">2:00</div>
187187
<div class="bb-capture-toolbar-item-spacer"></div>
188188
<div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="pointer">
189189
${loadIcon("pointer")}

src/GleapScreenRecorder.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class GleapScreenRecorder {
99
available = true;
1010
isRecording = false;
1111
file = null;
12-
maxRecordTime = 60;
12+
maxRecordTime = 120;
1313
recordTime = 0;
1414
recordingTimer = null;
1515
permissionErrorText = "";
@@ -43,7 +43,7 @@ export class GleapScreenRecorder {
4343
}
4444

4545
navigator.mediaDevices
46-
.getDisplayMedia({ video: true, audio: true })
46+
.getDisplayMedia({ video: { width: 1280 }, audio: true })
4747
.then(function (displayStream) {
4848
self.stream = displayStream;
4949

@@ -173,7 +173,7 @@ export class GleapScreenRecorder {
173173
if (remainingTime > 0) {
174174
timerLabel.innerHTML = self.formatTime(remainingTime);
175175
} else {
176-
timerLabel.innerHTML = "1:00";
176+
timerLabel.innerHTML = "2:00";
177177
self.stopScreenRecording();
178178
}
179179
}, 1000);
@@ -205,8 +205,6 @@ export class GleapScreenRecorder {
205205
type: "video/mp4",
206206
});
207207

208-
console.log(this.file.size);
209-
210208
const previewVideoElement = document.querySelector(
211209
".bb-capture-preview video"
212210
);

0 commit comments

Comments
 (0)