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

Plugin does not use Android media volume #23

Open
spiffytech opened this issue Jun 7, 2018 · 0 comments
Open

Plugin does not use Android media volume #23

spiffytech opened this issue Jun 7, 2018 · 0 comments

Comments

@spiffytech
Copy link

Expected Behaviour

Creating a WebRTC stream using the media stream plugin lets my app use Android's media volume

Actual Behaviour

App uses Android's telephone volume on some Android versions, ringer volume on others

Reproduce Scenario (including but not limited to)

Playing a WebRTC audio stream back out the phone's speakers

Steps to Reproduce

<audio autoplay></audio>
...
const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: false})
myHtml5AudioElement.srcObject = stream;

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 7.1-8.1, at least

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Android emulator, OnePlus 5, Alcatel A574BL

Cordova CLI version and cordova platform version

$ phonegap cordova --version
8.0.0

$ phonegap cordova platform version android
Installed platforms:
  android 7.0.0
  browser 5.0.3
Available platforms:
  ios ~4.5.4
  osx ~4.0.1
  windows ~5.0.0
  www ^3.12.0

Plugin version

$ phonegap cordova plugin version | grep phonegap-plugin-media-stream
phonegap-plugin-media-stream 1.2.1 "MediaStream"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant