Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gotgcalls-server

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gotgcalls-server - npm Package Compare versions

Comparing version 0.0.0-rc.14 to 0.0.0-rc.15

2

package.json
{
"name": "gotgcalls-server",
"version": "0.0.0-rc.14",
"version": "0.0.0-rc.15",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "bin": "dist/index.js",

@@ -11,7 +11,15 @@ #!/usr/bin/env node

connection.handle("stream", async ({ params }) => {
accessSync(params.file, constants.R_OK);
await call.stream(params.file);
return true;
});
connection.handle(
"stream",
async ({ params }: { params: { audio?: string; video?: string } }) => {
if (params.audio) {
accessSync(params.audio, constants.R_OK);
}
if (params.video) {
accessSync(params.video, constants.R_OK);
}
await call.stream(params);
return true;
}
);

@@ -18,0 +26,0 @@ connection.handle("mute", () => call.mute());

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