Skip to content

Commit

Permalink
fix audio playback
Browse files Browse the repository at this point in the history
  • Loading branch information
p-fruck committed Feb 1, 2024
1 parent db695ba commit 5319105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/models/JimmiApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export class JimmiApi {
}

mute() {
// ToDo: implement
this.conference.muteAudio(true);
}

unmute() {
// ToDo: implement
this.conference.muteAudio(false);
}

get queue(): Track[] {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/models/Track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class Track {
constructor(res: VideoResponse) {
this.#thumbnailUrl = res.videoThumbnails[0].url;
this.#title = res.title;
this.#source = res.adaptiveFormats.filter((format) => format.encoding === "opus")[0].url;
this.#source = res.adaptiveFormats[0].url;
}

get thumbnailUrl() {
Expand Down

0 comments on commit 5319105

Please sign in to comment.