从https链接音频流问题音频、链接、问题、https

2023-09-06 14:08:49 作者:给我1份温暖ゝ

大家好我是一个有点新到Android我已经开发了正在流从服务器的所有音频的应用程序进行得很顺利,直到我的应用程序崩溃,我调试了一下,发现了Android的媒体播放器引发异常,同时通过串流HTTPS链接。我从那里我流音频到我的应用程序和一半左右,几乎约20链接是HTTPS链接,他们不是在玩。如果有人了解它,请回答我需要帮助,如果你能不能给我任何一块code的,将提前为我understand.Thanks容易得多

Hi everyone I'm a bit new to android I have developed an app which is streaming the audio from server everything was going fine until my app crashed, I debugged it and found out the android media player is throwing exception while streaming through HTTPS link. I have almost about 20 links from where I'm streaming audio to my app and about half are HTTPS links and they are not playing. If anyone understand it please answer I need help, if you can give me any piece of code that would be much easier for me to understand.Thanks in advance

推荐答案

Android的媒体播放器不支持HTTPS。如果提供HTTPS URL,那么该文件将被下载。

Android media player doesn't support HTTPS. If you provide a HTTPS URL, then the file will be downloaded.

这HTTPS不支持其实是Android文档中提供。

This "HTTPS" not supported fact is provided in android documentation.

 
精彩推荐
图片推荐