Sea


  • 首页

  • 归档

  • 标签

  • 分类

  • 搜索

ffmpeg rtmp hls推流

发表于 2019-03-29

安装Nginx的扩展rtmp模块

1. 下载扩展包

1
2
3
4
5
6
7
8
$ cd /soft
$ wget https://github.com/arut/nginx-rtmp-module/archive/v1.1.10.tar.gz
//解压扩展包
$ tar -zxvf v1.1.10.tar.gz
#为nginx创建扩展模块目录
$ mkdir /usr/local/nginx/extend_module
#将解压后的nginx-rtmp-module目录移动到nginx扩展模块目录下
$ mv nginx-rtmp-module-1.1.10/ /usr/local/nginx/extend_module/nginx-rtmp-module
阅读全文 »

MySql Rand 随机

发表于 2019-03-10

建立用户及关联表

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- 用户表
CREATE TABLE `user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type` int(10) unsigned NOT NULL,
`name` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `type` (`type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 用户映射表
CREATE TABLE `user_map` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
阅读全文 »

Hello World

发表于 2019-03-01

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

阅读全文 »

Eagle

Let's fly

3 日志
2 标签
© 2019 Eagle