gpt4 book ai didi

actionscript-3 - SSL 页面上的 rtmpt(e) 流

转载 作者:太空宇宙 更新时间:2023-11-03 12:41:43 26 4
gpt4 key购买 nike

我正在为 PC 浏览器开发音频流网络服务。
我们想使用 rtmpt(e) 协议(protocol)通过 Flash 插件进行流式传输。
主 HTML 页面有 https:// URL。

问题是,当我们的 SWF 尝试连接流媒体服务器(通过 HTTP 隧道)时,某些浏览器(即 Chrome)在 URL 栏中的安全图标上显示警告:

Your connection to ???.???.com is encrypted with 128-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the look of the page.

在开发者控制台上:

The page at 'https://***.***.com/' was loaded over HTTPS, but displayed insecure content from 'http://stream.***.net/fcs/ident2': this content should also be loaded over HTTPS.
The page at 'https://***.***.com/' was loaded over HTTPS, but displayed insecure content from 'http://***.***.***.113/open/1': this content should also be loaded over HTTPS.
...

我认为这是因为 Flash 在访问 HTTP 时使用了浏览器的 URL 加载工具。

如何避免这些警告?

我们不想使用 rtmp(e) 因为 1935 可能被用户环境中的防火墙阻止,也不想使用 rtmps 因为我们流媒体服务器不支持它。
由于需要,我们不想对主要 HTML 使用 http://

最佳答案

How can I avoid these warnings?

修复 Mixed Content .通过 HTTPS 加载所有内容。

关于actionscript-3 - SSL 页面上的 rtmpt(e) 流,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25503978/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com