首页 \ 问答 \ Chromecast上的Html5音频 - SSL(Html5 audio on Chromecast - SSL)

Chromecast上的Html5音频 - SSL(Html5 audio on Chromecast - SSL)

在Chromecast上播放Html5音频元素,并将源指向我的Subsonic音乐服务器实例。 您可以将音乐服务器设置为通过http或https进行提供。 如果https,音频元素将无法播放。 我读过一大堆证书等,但仍然没有找到解决方案。 Android应用程序中的MediaPlayer处理此罚款(没有任何证书),但在Chromecast与Html5音频元素不起作用。 需要一些方向...


Playing around with Html5 audio element on Chromecast with the source pointing to my instance of a Subsonic music server. You can set the music server to serve over http or https. If https, the audio element won't play. I've read a whole bunch on certificates etc but still not getting to a solution. The MediaPlayer in an Android app handles this fine (without any certificate) but on Chromecast with the Html5 audio element it doesn't work. Need some direction...

更新时间:2023-01-22 06:01

最满意答案

不会喜欢这个答案,但Chromecast根本不支持自签名证书。 它构建在Chromium安全模型中。 如果您可以将证书装载到证书商店中,它就可以工作(Android和Fire平板电脑和电视可以做到这一点),但这可能会有所帮助,但Chromecast(和FireStick)无法做到这一点。


Not gonna like this answer, but Chromecast simply won't support self-signed certs. It is built into the Chromium security model. IF you can get a cert side-loaded into the cert store, it would work (Android and Fire Tablet and TV can do this), it might help, but Chromecast (and FireStick) can't do that.

相关问答

更多
  • 你在哪里找到这个网址? 这是不完整的,正确的是http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/manifest ,但它不太可行。 其他文件发布在: 微软的SmoothStreaming示例文件 ,据说,我不相信微软提供适用于Chromecast的CORS标头。 我们提供了一些您可以自己托管的非常简单的媒体 。 我们提供了一个非常简单的服务器 ,如果您需要它来托管并提供CORS标头。 Where ...
  • 网络摄像头和麦克风支持不是HTML 5规范的特色 新的API 除了指定标记之外,HTML5还指定脚本应用程序编程接口(API)。 现有的文档对象模型(DOM)接口被扩展并记录了事实上的功能。 还有新的API,例如: 立即模式的画布元素 2D绘图定时媒体播放 离线存储数据库(离线网站 应用程序)文件编辑 拖放交叉文档 消息(web消息)浏览器 历史管理MIME类型和 协议处理器注册。 微观数据 一些新功能是HTML5的一部分,主要是因为没有志愿者将HTML5拆分并保留这些功能的单独规范。 Webcam and ...
  • 我不知道这样的综合列表。 您需要记住,Chromecast设备主要面向媒体消费,因此对MediaElements有很好的支持。 事实上,它有一些额外的媒体扩展,如EME和MSE。 在DOM行动方面,我建议尽量减少(或更好地远离,如果可能的话)任何奇特的过渡; 对大多数事物的支持是存在的,但它没有得到优化,那些平滑(即硬件/内存)所需的资源在该设备上是稀缺的。 如果您需要了解有关覆盖范围和性能的更多信息,我建议您编写一个简单的应用程序,它可以放置许多javascript测试页面,并在实际设备上查看结果。 I ...
  • 你无法避免它; 从Chrome 49开始, getUserMedia API仅在“安全上下文”(即https站点和localhost )中可用。 You can't avoid it; starting with Chrome 49, the getUserMedia API is only available in "secure contexts" (i.e. https sites and localhost).
  • 使用本地嵌入式服务器来传输本地内容是唯一的方法。 Using a local embedded server for streaming local content is the only way.
  • 不会喜欢这个答案,但Chromecast根本不支持自签名证书。 它构建在Chromium安全模型中。 如果您可以将证书装载到证书商店中,它就可以工作(Android和Fire平板电脑和电视可以做到这一点),但这可能会有所帮助,但Chromecast(和FireStick)无法做到这一点。 Not gonna like this answer, but Chromecast simply won't support self-signed certs. It is built into the Chromiu ...
  • 正如我已经知道这是不可能的,@ ali-naddaf你可以通过任何机会输入这个作为功能请求吗? WebRTC在我们的开发CC设备上运行良好,唯一的棘手是在使用WebRTC和WebSockets接管之前必须使用Chrome扩展来启动它。 避免DIAL推出纯网络应用程序将是一个真正的杀手协议IMO。 顺便说一句,我还没有找到一个正式的方法来提出功能请求,所以这个Q / A机制就是我的方法。 As I already know this isn't possible, @ali-naddaf could you ...
  • 你将编写为在chromecast上运行的接收器是一个带有css和javascript的html5页面。 除了其他方面,您发送给接收的数据应该引用您想要在那里显示的图像和视频的网址; 这些内容可以从任何类型的Web服务器提供; chromecast不关心它是通过apache或node.js还是您自己手工制作的Web服务器提供的。 为了更好地理解体系结构,通常,您可能需要查阅我们的开发人员文档 。 The receiver that you will write to run on chromecast is ...
  • 你想要一个自定义接收器。 它们允许您只加载网页而不是使用默认播放器。 https://developers.google.com/cast/docs/custom_receiver You want a Custom Receiver. They allow you to just load in a webpage instead of using the default players. https://developers.google.com/cast/docs/custom_receiver
  • play(),pause()等来自HTMLMediaElement接口,这里记录: http : //www.w3.org/TR/html5/video.html#htmlmediaelement play(), pause() etc come from HTMLMediaElement interface, documented here: http://www.w3.org/TR/html5/video.html#htmlmediaelement

相关文章

更多

最新问答

更多
  • 在javascript中创建类以创建对象并在Java中创建类和对象之间的区别(Difference between creating a class in javascript to create an object and creating an class and object in Java)
  • Facebook API:将身份验证详细信息从Javascript SDK发送到PHP SDK(Facebook API: Send authentication detail from Javascript SDK to PHP SDK)
  • 如何停止队列动画jquery?(How can I stop queue animation jquery?)
  • 使用C#的井字游戏中的人工智能(Artificial Intelligence in Tic-Tac-Toe using C#)
  • 多少流量可以共享虚拟主机(对于Python Django站点)支持?(How Much Traffic Can Shared Web Hosting (for a Python Django site) support?)
  • 带有CIFilters的CAShapeLayer(CAShapeLayer with CIFilters)
  • 如何在Angular 2中读取JSON #text(How to read in Angular 2 the JSON #text)
  • 如何在xml中读取自闭标签的属性?(How to read self closing tag's attribute in xml?)
  • 无法使用http put将图像上传到亚马逊S3(Cannot upload image to amazon s3 using http put)
  • 文件结束无限循环(end of file infinite while-loop)
  • 在cpp的模板(template in cpp)
  • 在构建库时,clang和clang ++有什么区别?(What's the difference between clang and clang++ when building a library?)
  • ng类中的表达式(expression inside ng-class)
  • 在PHP中获取随机布尔值true / false(Get random boolean true/false in PHP)
  • 管道的高效分块用于严格的字节串(Efficient chunking of conduit for strict bytestring)
  • Python ternary_operator(如果其他标志做了其他操作,则执行其他操作)(Python ternary_operator (do-somthing if flag else do-another))
  • Sencha Touch面具发布(Sencha Touch mask ondisclosure)
  • 验证脚本上的通知[重复](Notices on validation script [duplicate])
  • 朋友功能(friend function)
  • 基于角坐标平移和变换平面几何(Translate and transform plane geometry based on corner coordinates)
  • Rails:'如果在本地运行'条件javascript标记包括(Rails: 'if running locally' conditional javascript tag include)
  • 解压文件(Unzipping files)
  • 使用ui-router以角度加载变量状态(loading in variable states with ui-router in angular)
  • 创建Azure云服务需要多长时间?(how long does it take to create an Azure Cloud Service? How to view log information?)
  • 指向整数的指针数组(Array of pointers to integers)
  • Laravel服务提供商没有看到我的包的主要类(Laravel service provider does not see the main class of my package)
  • 这个关于VSS / RSS / PSS / USS的解释是否准确?(Is this explanation about VSS/RSS/PSS/USS accurate?)
  • 在Django-Admin中通过row-id排序显示项目(Ordering the display items by row-id in Django-Admin)
  • 如何使用cythonize启用`--embed`?(How to enable `--embed` with cythonize?)
  • 用于将文本多行设置的Excel脚本(Excel script for ereasing text multiple rows)