Akamai HDCore +直播 = 偶尔出现黑色斑点

发布于 2024-11-23 23:38:36 字数 740 浏览 4 评论 0原文

我注意到每当流质量发生变化(由于 DSS 节流阀)时,我只会收到“黑色斑点”(可能是 300 毫秒的全黑)。

我想也许没有足够的缓冲区,但流更改大约需要 7 秒(根据 HDCore 调试消息),并且根据关联的 netStream,bufferTime 默认设置为 10 秒。

也许有更好的方法在 HDCore 中设置缓冲区?这对于 OSMF 来说工作得很好,但是 OSMF 不支持 HTTP DSS。

使用:Flash Player 10.2Akamai HDCore 2.1.20

嵌入代码:

<script type="text/javascript">
    /*var str = '?';
    for(var b in flashVars) str += b + '=' + flashVars[b] + '&';
    alert(str);*/
var params = {
        allowFullScreen:"true",
        wmode:"window",
        bgcolor:"#000000"
    };
    swfobject.embedSWF(WEBCAST_SWF_URL, "flashContent", "512", "288", "10.2.0", "/flash/expressinstall.swf?", null, params);
</script>

I noticed I'd only getting the "blips of black" (maybe 300ms of all black) whenever the stream quality changes (due to the DSS throttle).

I thought maybe there is not enough buffer, but the stream change takes about 7s (according to the HDCore debug messages) and the bufferTime, according to the associated netStream, is set to 10 seconds by default.

Perhaps there's a better way to set up the buffer in HDCore? This worked fine with OSMF, but OSMF doesn't support HTTP DSS.

Using: Flash Player 10.2 and Akamai HDCore 2.1.20

Embed Code:

<script type="text/javascript">
    /*var str = '?';
    for(var b in flashVars) str += b + '=' + flashVars[b] + '&';
    alert(str);*/
var params = {
        allowFullScreen:"true",
        wmode:"window",
        bgcolor:"#000000"
    };
    swfobject.embedSWF(WEBCAST_SWF_URL, "flashContent", "512", "288", "10.2.0", "/flash/expressinstall.swf?", null, params);
</script>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无人接听 2024-11-30 23:38:36

我注意到本地运行和点击 swf 都可以找到。

所以我更改了 HTML 中的包装器并修复了“blip”。我从 swfobject 切换到本机非 swfobject 包装器,一切正常(AC_OETags.js)。

快乐直播。

I noticed that running locally and hitting the swf both worked find.

So I changed the wrapper in the HTML and that fixed the "blip". I switched from swfobject to the native non-swfobject wrapper and everything worked (AC_OETags.js).

Happy streaming.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文