Anthony.Liu 031fc198e6 README.MD
2023-03-15 21:38:40 +08:00
2023-03-15 21:32:49 +08:00
2023-03-15 21:31:05 +08:00
2023-03-15 21:31:05 +08:00
2023-03-15 21:24:39 +08:00
2023-03-15 21:31:05 +08:00
2023-03-15 21:31:05 +08:00
2023-03-15 21:38:40 +08:00
2023-03-15 21:31:05 +08:00

HTTP鉴权插件

用于对推流和拉流客户端进行鉴权

插件地址

https://github.com/haowanxing/plugin-http-auth

插件引入

import (
    _ "github.com/haowanxing/plugin-http-auth"
)

配置

httpauth:
  onsubaddr: http://localhost:9091/subauth
  onpubaddr: http://localhost:9091/pubauth

API回调请求

{
    "action": "subscribe/publish",
    "app": "live",
    "stream": "test",
    "param": "field1=value1&field2=value2",
    "client_id": "127.0.0.1:53779"
}
Description
http auth plugin for m7s
Readme MIT 99 KiB
Languages
Go 100%