-
-
Notifications
You must be signed in to change notification settings - Fork 335
Open
Milestone
Description
YOU MUST read first!
Please use Community Forum for general technical discussions and questions.
- I have used Google with the error message or bug in association with the library and Cordova words to make sure the issue I'm reporting is only related to iOSRTC.
- I have provided steps to reproduce (e.g. using sample app code https://github.com/cordova-rtc/cordova-plugin-iosrtc-sample or updated
extra/renderer-and-libwebrtc-tests.jsfile). - I have provided versions of third party library name, IOS, Xcode and plugin version and adapter.js version if used.
Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed, removing this checkbox will result in automatic closed issue.
Versions affected
- Cordova version (e.g 7.1.0): 10.0.0 (latest)
- Cordova iOS version (e.g 5.1.0): 6.1.0 (latest)
- Plugin version (e.g 6.0.12): latest and git/master
- iOS version (e.g 10.2): 11+
- Xcode version (e.g 11.1 - 11A1027): 13.0
- WebRTC-adapter version (e.g. 7.4.0): latest
- WebRTC Framework version (e.g. JSSip 3.1.2): latest
Description
If background music plays (say apple music) and I start application (not even doing any API calls at all), music either stops (if cordova-plugin-background-mode is installed) or gets very loud and crappy (if no cordova-plugin-background-mode is installed).
Steps to reproduce
Music stop:
- Connect bluetooth or wired earphones
- Install cordova-plugin-iosrtc-sample
- delete or comment out scripts from www/index.html (src="js/common.js" and src="js/index-local.js")
- compile
- start music in player
- start application
Music gets loud and crappy:
- Connect bluetooth or wired earphones
- Install cordova-plugin-iosrtc-sample
- delete or comment out scripts from www/index.html (src="js/common.js" and src="js/index-local.js")
- cordova plugin remove cordova-plugin-background-mode
- compile
- start music in player
- start application
Expected results
Music continues to play with same volume and quality (since no API calls done yet)
Actual results
Music stops or gets loud and crappy