Skip to content

Live777 Core (liveion)

A Pure Single SFU Server for WebRTC.

Only WHIP / WHEP protocol supported.

a core SFU server, If you need a single server, use this

目前支持的编码

protocolvideo codecsaudio codecs
WHIPAV1, VP9, VP8, H264Opus, G722
WHEPAV1, VP9, VP8, H264Opus, G722

live777-apps

目前客户端的支持情况

ApplicationAV1VP9VP8H264OPUSG722
Browser whip
Browser whep
Gstreamer whip📺 1
Gstreamer whep📺 2
Gstreamer whipinto📺 1
Gstreamer whepfrom📺 2
FFmpeg whipinto💩
FFmpeg whepfrom💩
VLC whipinto💩💩💩
VLC whepfrom💩💩💩
OBS Studio whip📺 3💩💩💩
  • ⭐ It's working
  • 💩 Don't support
  • 💡 I don't know, No testing
  • 📺 Note have some problem
    1. Working, But Browser can't player this video, Gstreamer to Gstreamer is working
    2. I don't know why av1 and whep error
    3. OBS av1 codec can't play

认证

关闭认证

注意

默认是关闭认证的

如果没有设置任何关于 [auth] 块的内容,会关闭认证

Bearer token

静态的 HTTP bearer token 只能是超级管理员权限。 一般用于开发,测试和集群管理

toml
# WHIP/WHEP auth token
# Headers["Authorization"] = "Bearer {token}"
[auth]
# static JWT token, superadmin, debuggger can use this token
tokens = ["live777"]

JWT(JSON Web Token)

JWT 里面包含了权限信息,可以对单个流的推拉流和管理进行授权

toml
# WHIP/WHEP auth token
# Headers["Authorization"] = "Bearer {token}"
[auth]
# JSON WEB TOKEN secret
secret = "<jwt_secret>"

Cascade

What is cascade?

cascade

Very large cluster

mash-cascade

live777 Cascade have two mode:

  • cascade-pull
  • cascade-push

live777-cascade

DataChannel Forward

NOTE: About createDataChannel()

  1. Live777 Don't support label, createDataChannel(label) this label is not used
  2. Live777 Don't support negotiated, { id: 42, negotiated: true } this don't support

live777-datachannel

Released under the MPL-2.0 License.