5

Trying to determine what's "most" responsible for latency - the round trip my video makes from my encoder, to my server, and back down to the player in my browser.

I'm at about 12 seconds right now with a player I like. Is it buffering in my player? Buffering on the way out by FMLE?

The reason I ask is I feel I've eliminated other culprits with my little test scenario outlined below. And also, all else equal, swapping other players in produces the greatest variance in the latency. One takes it down to 4 seconds. Can't get any lower than that though.

Eliminating other culprits:

-Bad network? Nope, running it all locally. -The codec?, Nope, setting FMLE to VP6 or H.264 produces same latency. -Pushing too much data out of FMLE? Nope, 50kbs or 1000kbs produces 12 seconds -Framerate settings to intense? Nope, 5-29.97 fps changes effects motion quality but delay stays around 12 seconds.

I'm developing a small FMS based web presentation package so the latency will have to be down to a second at most. I've seen a similar package with almost no latency. Here's my test set up:

-Camera connected to Windows XP machine -Flash Media Live Encoder 3.0.1 -FLash Media Server 3.51 -Video Player - Sample dynamic streaming player in Adobe Flash Media Server productivity tools (kind of like a reference implementation for Adobe's ActionScript 3.0 Dynamic Streaming Class)

If I bounce my video off a server about 30 miles from me the result is nearly identical.

I ran a test with a CDN and a player they provided and the best I could do was 4 seconds.

Does anybody have a really fast player I can test?

4

3 回答 3

1

要制作低延迟网络流,请执行以下操作:

  1. 正常设置您的编码器并将其指向媒体服务器
  2. 检查媒体服务器边缘配置以获得低延迟配置,Wowza 内置了低延迟应用程序
  3. 在您的播放器中,确保您的缓冲区为 2 秒或更大。

附言。如果播放器的缓冲时间少于 2 秒,它对大多数人来说将无法正常工作,尤其是在 wifi 或远程链接上。

ps2。如果您的编码器与编码器位于同一局域网上,您也可以将低延迟应用程序用于源应用程序。

ps3。您永远不会同时低于 4 秒和可靠的流,但是如果您将对 LAN 部分进行极端调整(根本没有编码器缓冲 - 您可以这样做),只需在边缘使用缓冲,您就可以存档 2秒 - 我有这样的播放器,但它不公开:(

于 2012-02-24T23:47:12.553 回答
1

我想分享我的经验,因为最近我一直在研究这个 CDN 和实时视频流的世界。

我最好的结果是 2 秒延迟。

我已经尝试了一些提供商,我想知道是否有人知道任何其他提供低延迟的提供商。

我通过原始直播实现了这 2 秒,不要与新直播(16 秒延迟)混淆。

The Original Livestream 和 The New Livestream 都属于同一组 Livestream,但它们似乎针对不同的细分市场。

他们还告诉我,虽然他们仍然支持 The Original Livestrean,但他们不再开发它。

当他们告诉您他们不再开发该平台时,这并不是很令人放心,这是我们决定不与他们合作的唯一原因。如果您想访问他们的 RESTfull 端点以获取 Guide API,那么您在尝试从他们那里获得支持时也会遇到困难。

仍然有 2 秒的延迟。

顺便说一句,我在伦敦。

如果您有其他超低延迟 CDN,请告诉我。

啊,原来直播的url好难找,这里是…… https://secure.livestream.com/

于 2014-07-19T18:17:06.750 回答
0

查看 FMS 文档中的 NetStream.setBufferTime() 和 ns.bufferTime。就像罗伯特提到的,播放器也有它的缓冲区。

于 2010-10-08T04:57:16.567 回答