Home
Softono

Livewin Live

Open source Rust
11
Stars
3
Forks
0
Issues
1
Watchers
1 year
Last Commit

 About Livewin Live

livewin(来玩)直播服务

Platforms

Web Self-hosted

Languages

Rust

Links

Need Help Installing Livewin Live?

We provide expert installation service for this software. Our team will install, configure, and secure Livewin Live on your server. plans start at just $30.

Livewin Live

View on GitHub

LiveWin-Live

LiveWin(来玩) 直播服务器

features

  • 实现rtmp推流,拉流,
  • 支持H264/H265
  • 可配置支持gop cache
  • 支持视频流录制存储成本地flv文件.
  • 支持http-flv.
  • 支持hls.
  • 集成redis publisher用户认证.
  • 支持关键帧转储成jpg(使用ffmpeg)

编译

默认编译特性

  • rtmp 推流
  • rtmp 拉流
  • http-flv拉流
  • hls 拉流

编译带用户认证

   cargo build --features "auth" --release

编译带flv本地录播

   cargo build --features "flv" --release

编译带切割成ts

   cargo build --features "ts" --release

编译关键帧转jpg(需要ffmpeg支持)

   cargo build --features "keyframe_image" --release

usage

  • 启动xlive
./xlive
  • 推rtmp流(循环)
ffmpeg -re -stream_loop -1 -i ~/Videos/dde-introduction.mp4 -c copy -f flv rtmp://localhost:1935/{appname}/{key}
  • rtmp拉流

可以使用vlc观看流视频

rtmp://localhost:1935/{appname}/{key}
  • http-flv拉流

可以用vlc和web_player(基于flv.js)观看

http://localhost:3006/{appname}/{key}.flv
  • hls拉流

可以用vlc和web_player(基于flv.js)观看

http://localhost:3000/{appname}/{key}.m3u8