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

@observertc/observer-js

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@observertc/observer-js - npm Package Compare versions

Comparing version 0.9.14-beta to 0.9.15-beta

18

lib/middlewares/visitors/visitClient.js

@@ -166,4 +166,22 @@ "use strict";

}
if (clientSample.iceLocalCandidates && 0 < clientSample.iceLocalCandidates.length) {
for (const iceLocalCandidate of clientSample.iceLocalCandidates) {
const callMetaReport = (0, callMetaReports_1.createCallMetaReport)(serviceId, mediaUnitId, roomId, callId, clientId, {
type: callMetaReports_1.CallMetaType.ICE_LOCAL_CANDIDATE,
payload: iceLocalCandidate,
}, userId);
reports.addCallMetaReport(callMetaReport);
}
}
if (clientSample.iceRemoteCandidates && 0 < clientSample.iceRemoteCandidates.length) {
for (const iceRemoteCandidate of clientSample.iceRemoteCandidates) {
const callMetaReport = (0, callMetaReports_1.createCallMetaReport)(serviceId, mediaUnitId, roomId, callId, clientId, {
type: callMetaReports_1.CallMetaType.ICE_REMOTE_CANDIDATE,
payload: iceRemoteCandidate,
}, userId);
reports.addCallMetaReport(callMetaReport);
}
}
}
}
exports.visitClient = visitClient;

4

lib/processes/joinClientProcess.js

@@ -90,6 +90,6 @@ "use strict";

for (const [clientId, client] of newClients) {
const { serviceId, mediaUnitId, roomId, callId, clientId,
const { serviceId, mediaUnitId, roomId, callId, clientId: savedClientId,
// timeZoneId,
marker, joined, } = client;
if (!serviceId || !mediaUnitId || !roomId || !callId || !clientId) {
if (!serviceId || !mediaUnitId || !roomId || !callId || !savedClientId) {
continue;

@@ -96,0 +96,0 @@ }

{
"name": "@observertc/observer-js",
"version": "0.9.14-beta",
"version": "0.9.15-beta",
"description": "Server Side NodeJS Library for processing ObserveRTC Samples",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -204,3 +204,23 @@ import { ObservedClient } from '../../samples/ObservedClient';

}
if (clientSample.iceLocalCandidates && 0 < clientSample.iceLocalCandidates.length) {
for (const iceLocalCandidate of clientSample.iceLocalCandidates) {
const callMetaReport = createCallMetaReport(serviceId, mediaUnitId, roomId, callId, clientId, {
type: CallMetaType.ICE_LOCAL_CANDIDATE,
payload: iceLocalCandidate,
}, userId);
reports.addCallMetaReport(callMetaReport);
}
}
if (clientSample.iceRemoteCandidates && 0 < clientSample.iceRemoteCandidates.length) {
for (const iceRemoteCandidate of clientSample.iceRemoteCandidates) {
const callMetaReport = createCallMetaReport(serviceId, mediaUnitId, roomId, callId, clientId, {
type: CallMetaType.ICE_REMOTE_CANDIDATE,
payload: iceRemoteCandidate,
}, userId);
reports.addCallMetaReport(callMetaReport);
}
}
}
}

@@ -97,3 +97,3 @@ import { EvaluatorContext } from '../common/types';

callId,
clientId,
clientId: savedClientId,
// timeZoneId,

@@ -104,3 +104,3 @@ marker,

if (!serviceId || !mediaUnitId || !roomId || !callId || !clientId) {
if (!serviceId || !mediaUnitId || !roomId || !callId || !savedClientId) {
continue;

@@ -107,0 +107,0 @@ }

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