livekit-client
Advanced tools
Comparing version 0.8.4 to 0.8.5
@@ -225,4 +225,4 @@ "use strict"; | ||
publishData(data, kind, destination) { | ||
if (data.length > 15000) { | ||
throw new errors_1.PublishDataError('data cannot be larger than 15k'); | ||
if (data.length > 14000) { | ||
throw new errors_1.PublishDataError('data cannot be larger than 14k'); | ||
} | ||
@@ -317,3 +317,3 @@ const dest = []; | ||
// otherwise only send h | ||
if (height / 2 >= midPreset.height) { | ||
if (height * 0.7 >= midPreset.height) { | ||
encodings.push({ | ||
@@ -320,0 +320,0 @@ rid: 'h', |
@@ -169,8 +169,8 @@ "use strict"; | ||
handleDisconnect() { | ||
if (this.state === RoomState.Disconnected) { | ||
return; | ||
} | ||
this.participants.forEach((p) => { | ||
p.tracks.forEach((pub) => { | ||
if (pub.track) { | ||
pub.track.stop(); | ||
pub.track.detach(); | ||
} | ||
p.unpublishTrack(pub.trackSid); | ||
}); | ||
@@ -177,0 +177,0 @@ }); |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.8.3"; | ||
export declare const version = "0.8.5"; | ||
export declare const protocolVersion = 2; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.protocolVersion = exports.version = void 0; | ||
exports.version = '0.8.3'; | ||
exports.version = '0.8.5'; | ||
exports.protocolVersion = 2; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "livekit-client", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "JavaScript/TypeScript client SDK for LiveKit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
433893