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

@webex/web-client-media-engine

Package Overview
Dependencies
Maintainers
7
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webex/web-client-media-engine - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

39

dist/types/index.d.ts

@@ -8,2 +8,3 @@ import { LocalTrack, ConnectionState } from '@webex/webrtc-core';

import { ReceiveSlot as ReceiveSlot$1 } from 'receive-slot';
import { AvMediaDescription } from '@webex/ts-sdp';
import * as js_logger from 'js-logger';

@@ -90,10 +91,22 @@ import { ILogLevel, ILogHandler } from 'js-logger';

protected _rtcRtpTransceiver: RTCRtpTransceiver;
constructor(rtcRtpTransceiver: RTCRtpTransceiver);
mid: string;
constructor(rtcRtpTransceiver: RTCRtpTransceiver, mid: string);
replaceTransceiver(newRtcRtpTransceiver: RTCRtpTransceiver): void;
protected get receiver(): RTCRtpReceiver;
protected get sender(): RTCRtpSender;
get mid(): string | null;
close(): void;
abstract resetStreamSignaler(): void;
}
interface EgressStreamSignaler {
signalStreams(simulcastEnabled: boolean, rtxEnabled: boolean, mLine: AvMediaDescription): void;
getSenderIds(): StreamId[];
getEncodingIndexForStreamId(streamId: StreamId): number;
reset(): void;
setCodecParameters(parameters: {
[key: string]: string | undefined;
}): void;
deleteCodecParameters(parameters: string[]): void;
}
declare class SendOnlyTransceiver extends Transceiver {

@@ -103,4 +116,6 @@ publishedTrack?: LocalTrack;

private direction;
private streamSignaler;
rtxEnabled: boolean;
private requested;
constructor(rtcpRtpTransceiver: RTCRtpTransceiver, csi: number);
constructor(rtcpRtpTransceiver: RTCRtpTransceiver, mid: string, csi: number, signaler: EgressStreamSignaler);
private handleTrackChange;

@@ -115,2 +130,11 @@ replaceTransceiver(newRtcRtpTransceiver: RTCRtpTransceiver): Promise<void>;

updateSendParameters(requestedIdEncodingParamsMap: Map<number, EncodingParams>): Promise<void>;
private isSimulcastEnabled;
signalStreams(mLine: AvMediaDescription): void;
get senderIds(): StreamId[];
getEncodingIndexForStreamId(id: StreamId): number;
resetStreamSignaler(): void;
setCodecParameters(parameters: {
[key: string]: string | undefined;
}): void;
deleteCodecParameters(parameters: string[]): void;
}

@@ -171,3 +195,2 @@

private sendTransceivers;
private streamSignalerManager;
private recvTransceivers;

@@ -182,10 +205,6 @@ private dataChannel;

private options;
private customCodecParameters;
private midMap;
private currentMid;
private midPredictor;
private offerAnswerQueue;
private setAnswerResolve?;
constructor(userOptions?: Partial<MultistreamConnectionOptions>);
protected addMid(mediaType: MediaType): void;
protected clearMids(): void;
private initializePeerConnection;

@@ -216,2 +235,4 @@ getConnectionState(): ConnectionState;

private getSendTransceiverOrThrow;
private getSendTransceiverByMidOrThrow;
private getRecvTransceiverByMidOrThrow;
getPublishedTracks(): LocalTrack[];

@@ -218,0 +239,0 @@ setCodecParameters(mediaType: MediaType, parameters: {

{
"name": "@webex/web-client-media-engine",
"version": "2.1.2",
"version": "2.1.3",
"description": "Web Client Media Engine is common web code for interacting with the multistream media server.",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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