•   over 4 years ago

Conference Speaker Audio Test

How can I test speaker audio for multiple participants as separate instances in a single multi-tab browser session? Is this even possible?

Here's a screenshot of what I mean:
https://challengepost-s3-challengepost.netdna-ssl.com/photos/production/software_photos/001/733/994/datas/gallery.jpg

In this test case, the conference is joined by 3 different participants (3 tabs opened to `index.html` on local server in Chrome 95; incompatible with Firefox 91+ & Brave). Active tab is Marcia Brady. Ideally, only Marcia should be speaking, but the speaking statuses for all three participants return true cause audio input from a single mic source can't be isolated.

Same result when joining the conference from two different browsers, except in Firefox trying to turn on the camera throws a startVideoForPeer NotFoundError: https://challengepost-s3-challengepost.netdna-ssl.com/photos/production/software_photos/001/734/069/datas/gallery.jpg

Any way to test the app without multiple devices?

  • 2 comments

  • Manager   •   over 4 years ago

    Great question! Testing conference calls generally requires multiple users.
    TLDR: host the app or use something like ngrok to tunnel to your local server and invite teammates, friends and co-workers to join in on a call.

    The simple answer, is No; as you can't easily test and simulate a conference call on the same machine in the same browser or multiple browsers.
    This is not a limitation our our APIs, but of the way the operating system and the browsers works with audio input devices. You could create additional virtual devices (Search: software audio patch or virtual devices) and then implement our mediaDeviceService to enumerate all the devices on your system; then choose a different one for each - but it's still problematic because of the close proximity of the sound if you don't use headphones for example.
    See this doc:
    https://docs.dolby.io/communications-apis/docs/js-client-sdk-mediadeviceservice
    to enable the ability to choose which device to use for each browser
    (wear wired headphones without mics)

  •   •   over 4 years ago

    Hm, that sounds interesting. I'll look into virtual devices.
    Thanks for your quick response ☺

Comments are closed.