Giter Club home page Giter Club logo

lalmax's Introduction

lalmax

lalmax是在lal的基础上集成第三方库,可以提供SRT、RTC、mp4、gb28181、onvif等解决方案

编译

./build.sh

运行

./run.sh或者./lalmax -c conf/lalmax.conf.json

配置说明

lalmax.conf.json配置主要由2部分组成

(1) lal_config_path表示lal配置文件的路径,用于加载lal本身的配置,具体配置说明见lal配置

(2) 剩余的配置则为lalmax的配置,具体配置说明见config.md

docker运行

docker build -t lalmax:init ./

docker run -it -p 1935:1935 -p 8080:8080 -p 4433:4433 -p 5544:5544 -p 8083:8083 -p 8084:8084 -p 30000-30100:30000-30100/udp -p 1290:1290 -p 6001:6001/udp lalmax:init

架构

图片

支持的协议

推流

(1) RTSP

(2) SRT

(3) RTMP

(4) RTC(WHIP)

(5) GB28181

具体的推流url地址(除了srt/whip)

https://pengrl.com/lal/#/streamurllist

拉流

(1) RTSP

(2) SRT

(3) RTMP

(4) HLS(S)-TS

(5) HTTP(S)-FLV

(6) HTTP(S)-TS

(7) RTC(WHEP)

(8) HTTP(S)-FMP4

(9) HLS(S)-FMP4/LLHLS

具体的拉流url地址见https://pengrl.com/lal/#/streamurllist(除了srt/whep)

(1)使用gosrt库

(2)暂时不支持SRT加密

(3)支持H264/H265/AAC

(4)可以对接OBS/VLC

推流url srt://127.0.0.1:6001?streamid=publish:test110

拉流url srt://127.0.0.1:6001?streamid=test110

(1)支持WHIP推流和WHEP拉流,暂时只支持POST信令

(2)支持H264/G711A/G711U,后续支持opus音频

(3)可以对接OBS、vue-wish

WHIP推流url http(s)://127.0.0.1:1290/whip?streamid=test110

WHEP拉流url http(s)://127.0.0.1:1290/whep?streamid=test110

Http-fmp4

(1) 支持H264/H265/AAC/G711A/G711U

拉流url http(s)://127.0.0.1:1290/live/m4s/test110.mp4

HLS(fmp4/Low Latency)

(1) 支持H264/H265/AAC

拉流url http(s)://127.0.0.1:1290/live/hls/test110/index.m3u8

(1) 作为SIP服务器与设备进行SIP交互,打开lalserver的端口接收码流

(2) 流ID为设备通道编码ID

(3) 支持H264/H265/AAC

(4) 支持TCP/UDP

Onvif

(1) onvif接入设备进行pull拉流

(2) 支持tcp/udp拉流

(3) pull api:http://127.0.0.1:1290/api/ctrl/onvif/pull

{
    "addr": <string>,           // 设备IP:PORT
    "username": <string>,       // 用户名
    "password": <string>,       // 密码
    "rtspmode": <int>,          // rtsp拉流模式,0-tcp, 1-udp
    "pullallprofiles": <bool>   // 是否请求所有的profiles
}

lalmax's People

Contributors

joestarzxh avatar q191201771 avatar zsc714725 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.