在Google Chrome浏览器中离线安装Native HLS Playback插件的方法如下: 1.下载Native HLS Playback插件-离线包.rar,下载连接: Native HLS Playback插件-离线包.rar 2.解压出上述的Native HLS Playback插件-离线包.rar,解码文件夹如下图: 
3.打开Google Chrome浏览器输入网址:[url=]chrome://extensions/[/url],进入到扩展程序配置页面,如下图: 
4.添加刚才解压出来的插件目录,如下图: 
5.插件添加完成,如下图: 
6.测试效果 6.1.使用ffmpeg推送rtmp码流到nginx:ffmpeg -re -i D:\testvideo\mv.mkv -c copy -f flv rtmp://localhost:1935/live/bvcstream 注:nginx支持rtmp模块功能的环境搭建后续再补充文章 6.2.使用Google Chrome浏览器播放推流的hls视频流:http://192.168.10.141:8090/hls/bvcstream/index.m3u8 
当然,如果android和ios手机也连上了wifi,是可以直接用手机浏览器播放hls视频流的,下图是android手机浏览器播放截图: 
|