2018年5月13日

7.微信小程序使用直播

摘要: 1.推流 2. 去mp.qq.com 下载小程序开发工具 和申请流权限 3. 注意下这两个属性 然后编写代码 <!--index.wxml--> <view class="container"> <view> <live-player src="http://192.168.10.118:7001/ 阅读全文

posted @ 2018-05-13 13:51 collen 阅读(142) 评论(0) 推荐(0)

6. flv 协议 直播

摘要: 1.推流 Index.html <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>flv.js</title> <script src="./flv.js" charset="utf-8"> 阅读全文

posted @ 2018-05-13 13:45 collen 阅读(88) 评论(0) 推荐(0)

5.使用hlsm.js 播放器

摘要: 然后下载去github 下载hls.js 编写代码 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, 阅读全文

posted @ 2018-05-13 13:44 collen 阅读(211) 评论(0) 推荐(0)

4.使用video.js 播放直播. 集成工具的使用

摘要: 下载集成工具地址 链接:https://pan.baidu.com/s/1Pdm0shyPNWI3U9OIw8BLgA 密码:t3f0 ## 使用集成的工具推流 cd 文件目录 ## 启动集成工具 open server ### 命令。 端口后面的 推到那个地址可以自己写 但是接收的地址必须相对应 阅读全文

posted @ 2018-05-13 13:40 collen 阅读(353) 评论(0) 推荐(0)

3. 推流

摘要: 修改完第二个笔记的nginx 后 ngnix -s stop 停止后 重启 nginx 开启 nigix Cd 到目录 ffmpeg -re -i wq.mp4 -vcodec libx264 -acodec aac -f flv rtmp://127.0.0.1:1935/rtmplive/rtm 阅读全文

posted @ 2018-05-13 13:37 collen 阅读(127) 评论(0) 推荐(0)

2.nginx 配置文件

摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev 阅读全文

posted @ 2018-05-13 13:36 collen 阅读(114) 评论(0) 推荐(0)

1.Mac下配置nginx+rtmp模块推流服务器碰到的问题整理

摘要: 安装环境 ,Mac版本 : 10.13.5 在装的nginx版本为1.13.12 或nginx -v看下版本号。都能确保装上. 下面是在挂装rtmp模块时出现的问题处理。 安装命令见:https://blog.csdn.net/leonpengweicn/article/details/449179 阅读全文

posted @ 2018-05-13 13:35 collen 阅读(132) 评论(0) 推荐(0)

导航