Skip to content

Commit

Permalink
Update livekit js client
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Nov 3, 2023
1 parent 3a1e1f4 commit 4fa2b4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"core-js": "^3.31.1",
"date-fns": "^2.30.0",
"graphql-ws": "5.14.2",
"livekit-client": "1.14.1",
"livekit-client": "1.14.2",
"lodash": "^4.17.21",
"mark.js": "^8.11.1",
"mitt": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/ChatVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export default {
const normalizedIsScreen = !!isScreen;
const trackName = "track_" + track.kind + "__screen_" + normalizedIsScreen + "_" + this.getNewId();
const simulcast = !isMobileFirefox && (normalizedIsScreen ? this.screenSimulcast : this.videoSimulcast);
const normalizedCodec = this.codec === NULL_CODEC ? null : this.codec;
const normalizedCodec = this.codec === NULL_CODEC ? undefined : this.codec;
console.log(`Publishing local ${track.kind} screen=${normalizedIsScreen} track with name ${trackName}, simulcast ${simulcast}, codec ${normalizedCodec}`);
const publication = await this.room.localParticipant.publishTrack(track, {
name: trackName,
Expand Down

0 comments on commit 4fa2b4c

Please sign in to comment.