You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/16 20:40:11 UTC
[GitHub] [cordova-plugin-media] breautek commented on issue #260: Play wont
work in Android 26
breautek commented on issue #260: Play wont work in Android 26
URL: https://github.com/apache/cordova-plugin-media/issues/260#issuecomment-554672389
> 11-15 16:15:45.634 27694 28035 W AudioManager: Use of stream types is deprecated for operations other than volume control
11-15 16:15:45.634 27694 28035 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
These are warnings, not errors. The `W` in this log stands for warning.
> Error thrown, no sound.
Can you provide the error? The third parameter in `Media` constructor accepts an error callback.
`new Media(src, mediaSuccess, [mediaError], [mediaStatus]);`
These are the media [error codes](https://github.com/apache/cordova-plugin-media#mediaerror) definitions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org