mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
Fix for Issue #220: Android audio streaming doesn't work for https
This commit is contained in:
parent
d9ec6df5a8
commit
a6ae85b4ea
@ -313,7 +313,7 @@ public class AudioPlayer implements OnCompletionListener, OnPreparedListener, On
|
|||||||
* @return T=streaming, F=local
|
* @return T=streaming, F=local
|
||||||
*/
|
*/
|
||||||
public boolean isStreaming(String file) {
|
public boolean isStreaming(String file) {
|
||||||
if (file.contains("http://")) {
|
if (file.contains("http://") || file.contains("https://")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user