从https链接音频流问题 [英] problem in streaming audio from https link

查看:136
本文介绍了从https链接音频流问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我是一个有点新到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.

这篇关于从https链接音频流问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆