LiveQing high-performance RTMP, FLV, HLS streaming media server software - MySQL database support and enterprise docking

Green persimmon streaming service solutions

  • LiveQing cloud platform live on-demand streaming services
  • -LiveGBS GB GB28181 free plug-in streaming services
  • LiveNVR security Onvif / RTSP streaming media services;

Support for local, intranet, private cloud deployments; corporate video capacity building, providing video-on-demand transcoding, mobile phone live plug flow, cloud video storage plan, RTMP pull stream plug-flow service, RTSP pull stream plug-flow services, equipment GB28181 access into, Onvif PTZ control capability and so on, while providing a strong and stable performance RTMP / HLS / RTSP / HTTP-FLV distribution, support H5 pages without plug-ins live, strong management background, detailed documentation of secondary development interface, simple set up service after extracting a key to start, support for Windows and Linux environment deployment

LiveQing cloud streaming media server software , there is a cloud of live and video transcoding, in which video transcoding function mainly includes: uploading, transcoding, distribution. Cloud Live function mainly includes: live video, live support RTMP input and output distribution RTMP / HLS / HTTP-FLV; and video support custom long preservation, retrieval and downloading. It provides a wealth of secondary development interface, JSON-based packaging and HTTP calls. Play provides authentication plug-flow authentication and other security guarantees. User rights management and provides related configuration.

In the project construction process, we need for the project given video capabilities . And a part Normally, the system has its own business, but the ability to project video component. How this part of the docking capacity?

1. Database Description

database Explanation
Sqlite3 Lightweight relational database;
it can be used for data manipulation SQLiteStudio view;
MySQL Relational database management system;
you can use Navicat for MySQL for data manipulation View;

2. LiveQing对数据库的支持

EasyDSS流媒体服务器软件支持Sqlite3和MySQL。其中,都可以配置指向到自身的业务系统当中。提供了更加安全的数据存储策略。下面分别介绍如何配置:

2.1. Sqlite3

2.1.1. 参数配置

安装包解压之后,在解压目录下的eaydss.ini中

......
[dir]
; 默认配置的是相对路径,相对于根目录。可以根据需求配置绝对路径 如:D:/test  或 /user/test
; 数据库目录,保存数据库文件
dir_data  = data

......

[database]
; 支持 sqlite3 和 mysql, 默认开启的是sqlite3
; 配置sqlite3数据库名称
database_dialect = sqlite3
database_url     = liveqing.db

......
2.1.2. 参数说明
参数 说明
dir_data 是liveqing.db保存目录,支持相对路径和绝对路径的配置;
其中相对路径是相对当前解压后的执行目录;
database_dialect 配置数据类型,是固定值:sqlite3
database_url 配置Sqlite3数据库文件的名称,默认是liveqing.db;
可以设置成任意您想要的名字,如HelloWorld.db;
2.1.3. Sqlite数据库文件路径

按照上述配置之后,产生的liveqing.db 在解压目录下的data目录下


2.2. MySQL

2.2.1. 参数配置

安装包解压之后,在解压目录下的eaydss.ini中

......
[database]
......
; MYSQL 配置如下,若开启需关闭 sqlite3的配置
database_dialect = mysql
database_url = root:root@tcp(localhost:3306)/liveqing?charset=utf8&parseTime=True&loc=Local
......
2.2.2 参数说明
参数 说明
database_dialect 配置数据类型,是固定值:mysql
database_url 配置MySQL的数据库地址:
其中 root:root 用户名密码;
其中 localhost:3306 数据库所在服务器IP和端口;
其中 liveqing数据库名称,需先创建好数据库;
只需创建数据库,里面的相关表,会在系统启动时候自动创建;
Windows/Linux系统环境中搭建私有云直播流媒体服务自定义页面/进程名称

Guess you like

Origin www.cnblogs.com/kumukim/p/11124731.html