You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/25 05:05:45 UTC

[GitHub] [cordova-plugin-media] erisu commented on issue #315: Android 11 Media player not working , Android SDK 30

erisu commented on issue #315:
URL: https://github.com/apache/cordova-plugin-media/issues/315#issuecomment-1136730242

   When I tested streaming with the above example audio file, I didnt see any issues.
   
   ## My Project
   
   * cordova-android 10.1.1
   * cordova-plugin-file: 6.0.2
   * cordova-plugin-media: 5.0.4
   
   ## Test Environment
   
   * Emulator: Pixel 4 API 31
   
   ## Use Cases
   
   **First Use Case**
   
   * No custom modifications added to `config.xml`.
   * App content served from default path `https://localhost/`
   
   **Second Use Case**
   
   * Set `AndroidInsecureFileModeEnabled` to `true` in `config.xml`.
   * App content served from `file:///android_asset/www/ `
   
   ## Notes
   
   * This test was done before `cordova-plugin-file@7.0.0` release. The outcome shouldnt be effect with the new release.
   * `cordova-plugin-file` was added by the media plugin. I didn't add it manually.
   * When testing, it took a couple of seconds for the audio to be heard. I suspected it was normal behavior of the stream.
   * If app is served from `https` scheme trying to stream from the `http` scheme, it will fail. This is default behavior of any browser since its trying to access something that is insecure.
   * If using LetsEncrypt and running on an old Android device, this might produce unexpected results.
     * If possible, try testing with a different SSL CA Root Authority?
     * Though it might be resolved since, here is some background: [Extending Android Device Compatibility for Let's Encrypt Certificates](https://letsencrypt.org/2020/12/21/extending-android-compatibility.html)
      * I had heard cases where people had issues with LetsEncrypt and after switching the SSL CA Root Authority things worked for them.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org