question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command `setParticipantVolume` doesn't seem to work

See original GitHub issue

Hello, I’m using JitsiExternalMeetAPI to join a meeting through my web widget.

Here’s my code:

import * as JitsiMeetExternalAPI from "../utils/external_api.js";

// options contains 'startSilent': false,
let api = new JitsiMeetExternalAPI("<domain>", "<options>");

api.addListener("videoConferenceJoined", () => {
  let host = api
    .getParticipantsInfo()
    .filter((participant) => participant.displayName === "Host");

  api.executeCommand("setParticipantVolume", {
    participantID: host.participantId,
    volume: 0,
  });
});

From my understanding, the expected behavior is that call will be joined and host’s audio should be turned down to 0. But, that doesnt happen.

I have tried replacing participantID by participantId. It also doesnt seem to work.

Can someone please help if something is wrong with my code or understanding?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
shravan-shandilyacommented, Feb 23, 2022

Thanks for the help @izakgl and @saghul !

I have fixed my code, it’s working now 🙏

1reaction
izakglcommented, Feb 21, 2022

I tried on Firefox/Chrome on Windows and on Firefox/Chrome/Safari on MacOS. It works on all those browser. I am not able to test iPhone however, so I’m not sure about that one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Easy way to set volume from command line (#976) · Issues
Easy way to set volume from command line. It often happens that I want to quickly change volume from command line. Obligatory XKCD....
Read more >
Participant controls in a meeting - Zoom Support
Set up, learn, and use Zoom Meetings. ... The participant controls appear at the bottom of your screen, except for Leave meeting which ......
Read more >
How to make root volume writeable in Big Sur?
In Catalina, the root volume could be mounted as read/write by disabling SIP and entering the ... This command doesn't seem to be...
Read more >
I Can't Hear the Other Participants - Webex
On Mac, use the speaker icon at the top of your screen in the toolbar. Open a YouTube video to be sure that...
Read more >
Manage Audio Conferencing settings - Microsoft Teams
See Microsoft Teams steps to assign a dial-in conferencing license and conference ID to a user and many other dial-in conferencing settings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found