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

Option to always use speaker instead of earpiece #94

Open
felipecrs opened this issue Dec 31, 2022 · 4 comments
Open

Option to always use speaker instead of earpiece #94

felipecrs opened this issue Dec 31, 2022 · 4 comments

Comments

@felipecrs
Copy link
Contributor

In my HA companion app when talking to the doorbell it does not make sense to use earpiece since I also want to view video.

@TECH7Fox
Copy link
Owner

Is it even possible for mobile phones to another output when you have another one connected and set?

@felipecrs
Copy link
Contributor Author

Well, I'm not sure about it. But what I was thinking was an option to always use speaker, so that it doesn't need to change on the fly.

I'll do some research.

@felipecrs
Copy link
Contributor Author

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setSinkId

This is what I found... but I have no clue how to use it.

@felipecrs
Copy link
Contributor Author

Ok, setSinkId is NOT available for Chrome on Android, thus Webview (HA Companion App).

I think the only solution is either something in JsSIP or in HA Companion App.

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

No branches or pull requests

2 participants