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

livekit-client

Package Overview
Dependencies
Maintainers
20
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livekit-client - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

6

dist/src/room/track/options.d.ts

@@ -168,2 +168,8 @@ import type { Track } from './Track';

suppressLocalAudioPlayback?: boolean;
/**
* Experimental option to instruct the browser to offer the current tab as the most prominent capture source
* @experimental
* @see https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#prefercurrenttab
*/
preferCurrentTab?: boolean;
}

@@ -170,0 +176,0 @@ export interface AudioCaptureOptions {

@@ -168,2 +168,8 @@ import type { Track } from './Track';

suppressLocalAudioPlayback?: boolean;
/**
* Experimental option to instruct the browser to offer the current tab as the most prominent capture source
* @experimental
* @see https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#prefercurrenttab
*/
preferCurrentTab?: boolean;
}

@@ -170,0 +176,0 @@ export interface AudioCaptureOptions {

2

package.json
{
"name": "livekit-client",
"version": "2.0.6",
"version": "2.0.7",
"description": "JavaScript/TypeScript client SDK for LiveKit",

@@ -5,0 +5,0 @@ "main": "./dist/livekit-client.umd.js",

@@ -737,3 +737,16 @@ import {

if (track.source === Track.Source.ScreenShare && videoCodec === 'vp9') {
opts.scalabilityMode = 'L1T3';
// Chrome does not allow more than 5 fps with L1T3, and it has encoding bugs with L3T3
// It has a different path for screenshare handling and it seems to be untested/buggy
// As a workaround, we are setting contentHint to force it to go through the same
// path as regular camera video. While this is not optimal, it delivers the performance
// that we need
if ('contentHint' in track.mediaStreamTrack) {
track.mediaStreamTrack.contentHint = 'motion';
this.log.info('forcing contentHint to motion for screenshare with VP9', {
...this.logContext,
...getLogContextFromTrack(track),
});
} else {
opts.scalabilityMode = 'L1T3';
}
}

@@ -740,0 +753,0 @@ // set scalabilityMode to 'L3T3_KEY' by default

@@ -193,2 +193,9 @@ import type { Track } from './Track';

suppressLocalAudioPlayback?: boolean;
/**
* Experimental option to instruct the browser to offer the current tab as the most prominent capture source
* @experimental
* @see https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#prefercurrenttab
*/
preferCurrentTab?: boolean;
}

@@ -195,0 +202,0 @@

import { TrackEvent } from '../events';
import type { AudioReceiverStats } from '../stats';
import { computeBitrate } from '../stats';
import type { AudioReceiverStats } from '../stats';
import type { LoggerOptions } from '../types';

@@ -5,0 +5,0 @@ import { isReactNative, supportsSetSinkId } from '../utils';

@@ -186,2 +186,3 @@ import { TrackPublishedResponse } from '@livekit/protocol';

systemAudio: options.systemAudio,
preferCurrentTab: options.preferCurrentTab,
};

@@ -188,0 +189,0 @@ }

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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