VIDEO HLS (m3u8) - Simulate a local connection rate?

时间:2017-10-12 09:58:33

标签: ffmpeg localhost video-streaming video.js hls

I am in local development, wampserver and laravel 5.3

I use ffmpeg to convert video files to HLS (video.m3u8).

The quality adapts according to the user's connection speed. Youtube uses this technology.

I now want to test according to the bitrate but I am in local. The video plays automatically in the best format.

Is there a solution to simulate a local connection rate?

2 个答案:

答案 0 :(得分:1)

由于您通过HTTP发送数据,请查看Fiddler。 https://www.telerik.com/download/fiddler它能够模拟较慢的速度。

另一种方法是使用像Clumsy这样的工具,它可以模拟网络级别的不良网络状况。 https://jagt.github.io/clumsy/我在Windows 10下遇到了麻烦,但在Windows 7下似乎没问题。

还有商业流量整形器应用程序。

答案 1 :(得分:1)

我喜欢使用Chrome进行HLS测试和限制,这使我的测试需要一个地方/一个应用程序。在Chrome中安装" Native HLS PLayback"插件,这允许您直接在Chrome中输入m3u8网址并进行播放。然后打开Chrome的开发人员工具,转到网络标签,然后转到网络条件' - 在这里,您可以执行网络限制并指定所需的任何下载/上传速度。这应该允许测试/查看您的不同比特率。

相关问题