akamai osmf 直播连接问题

发布于 2024-09-27 01:26:05 字数 454 浏览 1 评论 0原文

我知道这个流可以工作有两个原因:

  • 1)它可以在 OSMF 之外工作
  • 2)它可以在 akamai 支持播放器中工作: http://support.akamai.com/flash/ 我不相信当前的 akamai 支持者正在使用 OSMF(这很令人惊讶,因为他们构建了 osmf 的前身..)

我的问题是:如何我可以在 osmf 中进行直播吗?如果不是自动的话,这应该非常简单。但是,当我尝试播放工作直播流时,出现以下错误:

Error: Stream not found

这是一堆垃圾,因为非 OSMF 播放器可以播放它。我有 Akamai Basic Streaming 插件,但它似乎也没有帮助。

问候。

I know this stream works because of two reasons:

  • 1) It works OUTSIDE of OSMF
  • 2) It works in the akamai support player: http://support.akamai.com/flash/ I don't believe the current akamai support player is using OSMF (which is suprising since they built the predecessor to osmf..)

My question is: How in the world do I play a live stream in osmf? This should be very simple if not automatic. However, I'm getting the following error when I try to play a working live stream:

Error: Stream not found

Which is a bunch of garbage since a non-OSMF player can play it. I have the Akamai Basic Streaming plugin which doesn't seem to be helping either.

Regards.

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

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

发布评论

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

评论(1

白芷 2024-10-04 01:26:06

惊人的。我又被n00bized了。那我就学学吧

我再次搜索了源代码,发现它就是这么简单:

var mediaPlayerSprite:MediaPlayerSprite = new MediaPlayerSprite();
var videoElement:VideoElement = new VideoElement();

videoElement.resource = new StreamingURLResource("rtmp://cp34973.live.edgefcs.net/live/Flash_Live_Benchmark@632", StreamType.LIVE);

addChild(mediaPlayerSprite);
mediaPlayerSprite.media = videoElement;

直到下一次,这是“Stump myself”。谢谢你,晚安。

Awesome. I've been n00bized again. That'll learn me.

I scoured through the source again and found out it's this easy:

var mediaPlayerSprite:MediaPlayerSprite = new MediaPlayerSprite();
var videoElement:VideoElement = new VideoElement();

videoElement.resource = new StreamingURLResource("rtmp://cp34973.live.edgefcs.net/live/Flash_Live_Benchmark@632", StreamType.LIVE);

addChild(mediaPlayerSprite);
mediaPlayerSprite.media = videoElement;

Until next time, this was "Stump yourself". Thank you, and good night.

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