Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add getActiveAudioOutputDevice to room API #500

Merged

Conversation

davideberlein
Copy link
Contributor

@davideberlein davideberlein commented Oct 31, 2022

fixes #497

This is a very trivial implementation. I was working on some more advanced version trying to figure out the default device if no deviceId is currently set however I'm not sure this really adds any value.
Then again, as far as I can see the options are public so one wouldn't really need this method.

If we decide to remove the method I'd change this PR to document the ways to access the current devices on the switchActiveDevice method so people find this faster.

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2022

🦋 Changeset detected

Latest commit: d8524fe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link

CLAassistant commented Oct 31, 2022

CLA assistant check
All committers have signed the CLA.

@davideberlein davideberlein marked this pull request as ready for review November 1, 2022 07:08
@davideberlein davideberlein force-pushed the add-getActiveAudioOutputDevice-method-to-room branch from 0e177e6 to d8524fe Compare November 1, 2022 14:34
@lukasIO lukasIO merged commit 9a57074 into livekit:main Nov 1, 2022
@github-actions github-actions bot mentioned this pull request Nov 1, 2022
max-b pushed a commit to Invisv-Privacy/client-sdk-js that referenced this pull request Dec 5, 2022
* add getActiveAudioOutputDevice to room API

* add changeset

* run prettier

* return an empty string if no audiooutput device was set
max-b pushed a commit to Invisv-Privacy/client-sdk-js that referenced this pull request Dec 5, 2022
* add getActiveAudioOutputDevice to room API

* add changeset

* run prettier

* return an empty string if no audiooutput device was set
max-b pushed a commit to Invisv-Privacy/client-sdk-js that referenced this pull request Dec 9, 2022
* add getActiveAudioOutputDevice to room API

* add changeset

* run prettier

* return an empty string if no audiooutput device was set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to read active audio output device
3 participants