webrtc-streaming-core
Advanced tools
Comparing version 1.1.12 to 1.1.13
@@ -12,3 +12,3 @@ export declare class HID { | ||
private ResetVideo; | ||
constructor(videoElement: HTMLVideoElement, Sendfunc: ((data: string) => Promise<void>), ResetVideo: (() => (void))); | ||
constructor(videoElement: HTMLVideoElement, Sendfunc: ((data: string) => Promise<void>), ResetVideo: (() => Promise<void>)); | ||
private isFullscreen; | ||
@@ -15,0 +15,0 @@ lockPointer(): void; |
@@ -236,3 +236,2 @@ "use strict"; | ||
this.SendFunc((new keys_model_2.HIDMsg(keys_model_1.EventCode.KeyReset, {}).ToString())); | ||
this.ResetVideo(); | ||
} | ||
@@ -242,3 +241,2 @@ mouseLeaveEvent(event) { | ||
this.SendFunc((new keys_model_2.HIDMsg(keys_model_1.EventCode.KeyReset, {}).ToString())); | ||
this.ResetVideo(); | ||
} | ||
@@ -337,7 +335,4 @@ keydown(event) { | ||
evt.preventDefault(); | ||
(0, log_1.Log)(log_1.LogLevel.Debug, 'touchstart.'); | ||
this.ResetVideo(); | ||
const touches = evt.changedTouches; | ||
for (let i = 0; i < touches.length; i++) { | ||
console.log(`touchstart: ${i}.`); | ||
let touch = new TouchData(touches[i]); | ||
@@ -344,0 +339,0 @@ // hold for left click |
@@ -142,3 +142,3 @@ "use strict"; | ||
yield this.getConnectionStats(conn); | ||
setTimeout(statsLoop, 1000); | ||
setTimeout(statsLoop, 300); | ||
}); | ||
@@ -145,0 +145,0 @@ statsLoop(); |
{ | ||
"name": "webrtc-streaming-core", | ||
"version": "1.1.12", | ||
"version": "1.1.13", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/app.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
140005
2161