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
目前支持的编码
protocol | video codecs | audio codecs |
---|---|---|
WHIP | AV1 , VP9 , VP8 , H264 | Opus , G722 |
WHEP | AV1 , VP9 , VP8 , H264 | Opus , G722 |
目前客户端的支持情况
Application | AV1 | VP9 | VP8 | H264 | OPUS | G722 |
---|---|---|---|---|---|---|
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
- Working, But Browser can't player this video, Gstreamer to Gstreamer is working
- I don't know why av1 and whep error
- 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?
Very large cluster
live777 Cascade have two mode:
cascade-pull
cascade-push
DataChannel Forward
NOTE: About
createDataChannel()
- Live777 Don't support
label
,createDataChannel(label)
thislabel
is not used- Live777 Don't support
negotiated
,{ id: 42, negotiated: true }
this don't support