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

@scrypted/types

Package Overview
Dependencies
Maintainers
1
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypted/types - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

34

index.d.ts

@@ -238,4 +238,15 @@ /// <reference types="node" />

PasswordControl = "PasswordControl",
/**
* Displays have audio and video output.
*/
Display = "Display",
/**
* Smart Displays have two way audio and video.
*/
SmartDisplay = "SmartDisplay",
Speaker = "Speaker",
/**
* Smart Speakers have two way audio.
*/
SmartSpeaker = "SmartSpeaker",
Event = "Event",

@@ -550,2 +561,8 @@ Entry = "Entry",

/**
* Microphone devices can capture audio streams.
*/
export interface Microphone {
getAudioStream(): Promise<MediaObject>;
}
/**
* VideoCamera devices can capture video streams.

@@ -1322,2 +1339,3 @@ */

Camera = "Camera",
Microphone = "Microphone",
VideoCamera = "VideoCamera",

@@ -1371,11 +1389,9 @@ VideoRecorder = "VideoRecorder",

export declare type RTCSignalingSendIceCandidate = (candidate: RTCIceCandidateInit) => Promise<void>;
export interface RTCSignalingClientSession extends RTCSignalingSession {
getOptions(): Promise<RTCSignalingClientOptions>;
}
export interface RTCSignalingSession {
createLocalDescription: (type: 'offer' | 'answer', setup: RTCAVSignalingSetup, sendIceCandidate: undefined | RTCSignalingSendIceCandidate) => Promise<RTCSessionDescriptionInit>;
setRemoteDescription: (description: RTCSessionDescriptionInit, setup: RTCAVSignalingSetup) => Promise<void>;
addIceCandidate: (candidate: RTCIceCandidateInit) => Promise<void>;
createLocalDescription(type: 'offer' | 'answer', setup: RTCAVSignalingSetup, sendIceCandidate: undefined | RTCSignalingSendIceCandidate): Promise<RTCSessionDescriptionInit>;
setRemoteDescription(description: RTCSessionDescriptionInit, setup: RTCAVSignalingSetup): Promise<void>;
addIceCandidate(candidate: RTCIceCandidateInit): Promise<void>;
getOptions(): Promise<RTCSignalingOptions>;
}
export interface RTCSignalingClientOptions {
export interface RTCSignalingOptions {
/**

@@ -1407,3 +1423,3 @@ * Indicates that this client requires an answer, and is providing an offer.

export interface RTCSignalingClient {
createRTCSignalingSession(): Promise<RTCSignalingClientSession>;
createRTCSignalingSession(): Promise<RTCSignalingSession>;
}

@@ -1416,3 +1432,3 @@ /**

export interface RTCSignalingChannel {
startRTCSignalingSession(session: RTCSignalingSession, options?: RTCSignalingClientOptions): Promise<RTCSessionControl | undefined>;
startRTCSignalingSession(session: RTCSignalingSession): Promise<RTCSessionControl | undefined>;
}

@@ -1419,0 +1435,0 @@ export interface RTCAVSignalingSetup {

@@ -217,2 +217,9 @@ "use strict";

},
Microphone: {
name: 'Microphone',
methods: [
'getAudioStream'
],
properties: []
},
VideoCamera: {

@@ -597,4 +604,15 @@ name: 'VideoCamera',

ScryptedDeviceType["PasswordControl"] = "PasswordControl";
/**
* Displays have audio and video output.
*/
ScryptedDeviceType["Display"] = "Display";
/**
* Smart Displays have two way audio and video.
*/
ScryptedDeviceType["SmartDisplay"] = "SmartDisplay";
ScryptedDeviceType["Speaker"] = "Speaker";
/**
* Smart Speakers have two way audio.
*/
ScryptedDeviceType["SmartSpeaker"] = "SmartSpeaker";
ScryptedDeviceType["Event"] = "Event";

@@ -672,2 +690,3 @@ ScryptedDeviceType["Entry"] = "Entry";

ScryptedInterface["Camera"] = "Camera";
ScryptedInterface["Microphone"] = "Microphone";
ScryptedInterface["VideoCamera"] = "VideoCamera";

@@ -674,0 +693,0 @@ ScryptedInterface["VideoRecorder"] = "VideoRecorder";

@@ -320,2 +320,9 @@

},
Microphone: {
name: 'Microphone',
methods: [
'getAudioStream'
],
properties: []
},
VideoCamera: {

@@ -772,4 +779,15 @@ name: 'VideoCamera',

PasswordControl = "PasswordControl",
/**
* Displays have audio and video output.
*/
Display = "Display",
/**
* Smart Displays have two way audio and video.
*/
SmartDisplay = "SmartDisplay",
Speaker = "Speaker",
/**
* Smart Speakers have two way audio.
*/
SmartSpeaker = "SmartSpeaker",
Event = "Event",

@@ -1112,2 +1130,9 @@ Entry = "Entry",

/**
* Microphone devices can capture audio streams.
*/
export interface Microphone {
getAudioStream(): Promise<MediaObject>;
}
/**
* VideoCamera devices can capture video streams.

@@ -1966,2 +1991,3 @@ */

Camera = "Camera",
Microphone = "Microphone",
VideoCamera = "VideoCamera",

@@ -2017,13 +2043,10 @@ VideoRecorder = "VideoRecorder",

export interface RTCSignalingClientSession extends RTCSignalingSession {
getOptions(): Promise<RTCSignalingClientOptions>;
}
export interface RTCSignalingSession {
createLocalDescription: (type: 'offer' | 'answer', setup: RTCAVSignalingSetup, sendIceCandidate: undefined|RTCSignalingSendIceCandidate) => Promise<RTCSessionDescriptionInit>;
setRemoteDescription: (description: RTCSessionDescriptionInit, setup: RTCAVSignalingSetup) => Promise<void>;
addIceCandidate: (candidate: RTCIceCandidateInit) => Promise<void>;
createLocalDescription(type: 'offer' | 'answer', setup: RTCAVSignalingSetup, sendIceCandidate: undefined|RTCSignalingSendIceCandidate): Promise<RTCSessionDescriptionInit>;
setRemoteDescription(description: RTCSessionDescriptionInit, setup: RTCAVSignalingSetup): Promise<void>;
addIceCandidate(candidate: RTCIceCandidateInit): Promise<void>;
getOptions(): Promise<RTCSignalingOptions>;
}
export interface RTCSignalingClientOptions {
export interface RTCSignalingOptions {
/**

@@ -2057,3 +2080,3 @@ * Indicates that this client requires an answer, and is providing an offer.

export interface RTCSignalingClient {
createRTCSignalingSession(): Promise<RTCSignalingClientSession>;
createRTCSignalingSession(): Promise<RTCSignalingSession>;
}

@@ -2067,3 +2090,3 @@

export interface RTCSignalingChannel {
startRTCSignalingSession(session: RTCSignalingSession, options?: RTCSignalingClientOptions): Promise<RTCSessionControl|undefined>;
startRTCSignalingSession(session: RTCSignalingSession): Promise<RTCSessionControl|undefined>;
}

@@ -2070,0 +2093,0 @@

{
"name": "@scrypted/types",
"version": "0.0.25",
"version": "0.0.26",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.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