New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webrtc-streaming-core

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-streaming-core - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

16

dist/app.js

@@ -67,9 +67,7 @@ "use strict";

return;
this.datachannels.set(a.channel.label, new datachannel_1.DataChannel(a.channel, (data) => {
if (a.channel.label == "hid" && this.hid != null) {
if (a.channel.label == "hid") {
this.datachannels.set(a.channel.label, new datachannel_1.DataChannel(a.channel, (data) => {
this.hid.handleIncomingData(data);
}
}));
if (a.channel.label == "hid") {
this.hid = new hid_1.HID(this.video.current, (data) => {
}));
this.hid = new hid_1.HID(this.video.current, (data) => __awaiter(this, void 0, void 0, function* () {
(0, log_1.Log)(log_1.LogLevel.Debug, data);

@@ -81,4 +79,8 @@ let channel = this.datachannels.get("hid");

channel.sendMessage(data);
}, this.ResetVideo.bind(this));
}), this.ResetVideo.bind(this));
}
else {
this.datachannels.set(a.channel.label, new datachannel_1.DataChannel(a.channel, (data) => {
}));
}
}

@@ -85,0 +87,0 @@ handleIncomingPacket(pkt) {

@@ -33,3 +33,3 @@ declare class TouchData implements Touch {

private ResetVideo;
constructor(videoElement: HTMLVideoElement, Sendfunc: ((data: string) => (void)), ResetVideo: (() => (void)));
constructor(videoElement: HTMLVideoElement, Sendfunc: ((data: string) => Promise<void>), ResetVideo: (() => (void)));
private isFullscreen;

@@ -36,0 +36,0 @@ lockPointer(): void;

@@ -155,6 +155,8 @@ "use strict";

case 'grum':
navigator.getGamepads().forEach((gamepad, gamepad_id) => {
if (gamepad == null)
return;
});
// window.navigator.vibrate()
// TODO native rumble
// navigator.getGamepads().forEach((gamepad: Gamepad,gamepad_id: number) =>{
// if (gamepad == null)
// return;
// })
break;

@@ -161,0 +163,0 @@ default:

{
"name": "webrtc-streaming-core",
"version": "1.1.10",
"version": "1.1.11",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc