Skip to content

Commit

Permalink
Merge branch 'main' into lukas/getTrackPublication
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO authored Jan 10, 2024
2 parents 2085271 + 63e14ad commit b0c2931
Show file tree
Hide file tree
Showing 41 changed files with 2,217 additions and 1,371 deletions.
5 changes: 0 additions & 5 deletions .changeset/hot-kangaroos-teach.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/plenty-sloths-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-client": major
---

Change publishData signature
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# Change Log

## 1.15.7

### Patch Changes

- Fix stopping old track in `setMediaStreamTrack` - [#980](https://github.com/livekit/client-sdk-js/pull/980) ([@mpnri](https://github.com/mpnri))

- Add class level configurable logger - [#988](https://github.com/livekit/client-sdk-js/pull/988) ([@lukasIO](https://github.com/lukasIO))

- Default screenshare capture resolution to 1080p - [#972](https://github.com/livekit/client-sdk-js/pull/972) ([@davidzhao](https://github.com/davidzhao))

## 1.15.6

### Patch Changes

- Make sure that processorElement stays muted after attach - [#984](https://github.com/livekit/client-sdk-js/pull/984) ([@lukasIO](https://github.com/lukasIO))

## 1.15.5

### Patch Changes

- Add receiver video mime type to stats - [#963](https://github.com/livekit/client-sdk-js/pull/963) ([@cnderrauber](https://github.com/cnderrauber))

- Make sure all signal client callbacks are set up for a reconnect - [#966](https://github.com/livekit/client-sdk-js/pull/966) ([@lukasIO](https://github.com/lukasIO))

- Make sure to apply audio output selection when participant is first created - [#968](https://github.com/livekit/client-sdk-js/pull/968) ([@lukasIO](https://github.com/lukasIO))

## 1.15.4

### Patch Changes

- Add ConnectionQuality.Lost - [#961](https://github.com/livekit/client-sdk-js/pull/961) ([@lukasIO](https://github.com/lukasIO))

- Add isAgent getter on participant - [#960](https://github.com/livekit/client-sdk-js/pull/960) ([@lukasIO](https://github.com/lukasIO))

- Improve auto playback handling - [#958](https://github.com/livekit/client-sdk-js/pull/958) ([@lukasIO](https://github.com/lukasIO))

## 1.15.3

### Patch Changes

- Prevent backup codec publishing when e2ee is enabled - [#943](https://github.com/livekit/client-sdk-js/pull/943) ([@lukasIO](https://github.com/lukasIO))

- Use enum to track connection state of signal client - [#949](https://github.com/livekit/client-sdk-js/pull/949) ([@lukasIO](https://github.com/lukasIO))

- Disable VP9 for Safari 15, AV1 for Safari (incomplete support) - [#950](https://github.com/livekit/client-sdk-js/pull/950) ([@davidzhao](https://github.com/davidzhao))

## 1.15.2

### Patch Changes
Expand Down
6 changes: 6 additions & 0 deletions example/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
RoomConnectOptions,
RoomEvent,
RoomOptions,
ScreenSharePresets,
Track,
TrackPublication,
VideoCaptureOptions,
Expand Down Expand Up @@ -77,20 +78,25 @@ const appActions = {
const cryptoKey = (<HTMLSelectElement>$('crypto-key')).value;
const autoSubscribe = (<HTMLInputElement>$('auto-subscribe')).checked;
const e2eeEnabled = (<HTMLInputElement>$('e2ee')).checked;
const audioOutputId = (<HTMLSelectElement>$('audio-output')).value;

setLogLevel(LogLevel.debug);
updateSearchParams(url, token, cryptoKey);

const roomOpts: RoomOptions = {
adaptiveStream,
dynacast,
audioOutput: {
deviceId: audioOutputId,
},
publishDefaults: {
simulcast,
videoSimulcastLayers: [VideoPresets.h90, VideoPresets.h216],
videoCodec: preferredCodec || 'vp8',
dtx: true,
red: true,
forceStereo: false,
screenShareEncoding: ScreenSharePresets.h1080fps30.encoding,
},
videoCaptureDefaults: {
resolution: VideoPresets.h720.resolution,
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "livekit-client",
"version": "1.15.2",
"version": "1.15.7",
"description": "JavaScript/TypeScript client SDK for LiveKit",
"main": "./dist/livekit-client.umd.js",
"unpkg": "./dist/livekit-client.umd.js",
Expand Down Expand Up @@ -40,7 +40,7 @@
"build:watch": "rollup --watch --config rollup.config.js",
"build-docs": "typedoc",
"proto": "protoc --es_out src/proto --es_opt target=ts -I./protocol ./protocol/livekit_rtc.proto ./protocol/livekit_models.proto",
"sample": "vite example -c vite.config.js",
"sample": "vite example -c vite.config.mjs",
"lint": "eslint src",
"test": "vitest run src",
"deploy": "gh-pages -d example/dist",
Expand All @@ -62,42 +62,42 @@
"webrtc-adapter": "^8.1.1"
},
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/core": "7.23.7",
"@babel/preset-env": "7.23.7",
"@bufbuild/protoc-gen-es": "^1.3.0",
"@changesets/cli": "2.26.2",
"@changesets/cli": "2.27.1",
"@livekit/changesets-changelog-github": "^0.0.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "^0.4.0",
"@size-limit/file": "^8.2.4",
"@size-limit/webpack": "^8.2.4",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/events": "^3.0.0",
"@types/sdp-transform": "2.4.8",
"@types/ua-parser-js": "0.7.38",
"@types/sdp-transform": "2.4.9",
"@types/ua-parser-js": "0.7.39",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"downlevel-dts": "^0.11.0",
"eslint": "8.52.0",
"eslint": "8.56.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-ecmascript-compat": "^3.0.0",
"eslint-plugin-import": "2.29.0",
"gh-pages": "6.0.0",
"jsdom": "^22.1.0",
"prettier": "^2.8.8",
"rollup": "3.29.4",
"eslint-plugin-import": "2.29.1",
"gh-pages": "6.1.1",
"jsdom": "^23.0.0",
"prettier": "^3.0.0",
"rollup": "4.9.2",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-re": "1.0.7",
"rollup-plugin-typescript2": "0.36.0",
"size-limit": "^8.2.4",
"typedoc": "0.25.3",
"typedoc": "0.25.6",
"typedoc-plugin-no-inherit": "1.4.0",
"typescript": "5.2.2",
"vite": "4.5.0",
"vitest": "^0.34.0"
"typescript": "5.3.3",
"vite": "5.0.10",
"vitest": "^1.0.0"
}
}
Loading

0 comments on commit b0c2931

Please sign in to comment.