Documentation ¶
Index ¶
- Variables
- func Authentication(secrets, ips []string) gin.HandlerFunc
- type HttpNotify
- func (h *HttpNotify) NotifyOnHlsMakeTs(info base.HlsMakeTsInfo)
- func (h *HttpNotify) NotifyPubStart(info base.PubStartInfo)
- func (h *HttpNotify) NotifyPubStop(info base.PubStopInfo)
- func (h *HttpNotify) NotifyPullStart(info base.PullStartInfo)
- func (h *HttpNotify) NotifyPullStop(info base.PullStopInfo)
- func (h *HttpNotify) NotifyRtmpConnect(info base.RtmpConnectInfo)
- func (h *HttpNotify) NotifyServerStart(info base.LalInfo)
- func (h *HttpNotify) NotifySubStart(info base.SubStartInfo)
- func (h *HttpNotify) NotifySubStop(info base.SubStopInfo)
- func (h *HttpNotify) NotifyUpdate(info base.UpdateInfo)
- func (h *HttpNotify) NotifyUpdateRunLoop()
- func (h *HttpNotify) OnHlsMakeTs(info base.HlsMakeTsInfo)
- func (h *HttpNotify) OnPubStart(info base.PubStartInfo)
- func (h *HttpNotify) OnPubStop(info base.PubStopInfo)
- func (h *HttpNotify) OnRelayPullStart(info base.PullStartInfo)
- func (h *HttpNotify) OnRelayPullStop(info base.PullStopInfo)
- func (h *HttpNotify) OnRtmpConnect(info base.RtmpConnectInfo)
- func (h *HttpNotify) OnServerStart(info base.LalInfo)
- func (h *HttpNotify) OnSubStart(info base.SubStartInfo)
- func (h *HttpNotify) OnSubStop(info base.SubStopInfo)
- func (h *HttpNotify) OnUpdate(info base.UpdateInfo)
- func (h *HttpNotify) RunLoop()
- type LalMaxServer
- func (s *LalMaxServer) Cors() gin.HandlerFunc
- func (s *LalMaxServer) HandleHls(c *gin.Context)
- func (s *LalMaxServer) HandleHttpFmp4(c *gin.Context)
- func (s *LalMaxServer) HandleJessibuca(c *gin.Context)
- func (s *LalMaxServer) HandleOnvifPull(c *gin.Context)
- func (s *LalMaxServer) HandleWHEP(c *gin.Context)
- func (s *LalMaxServer) HandleWHIP(c *gin.Context)
- func (s *LalMaxServer) InitRouter(router *gin.Engine)
- func (s *LalMaxServer) Run() (err error)
- type PostTask
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = nazalog.GetGlobalLogger()
Functions ¶
func Authentication ¶
func Authentication(secrets, ips []string) gin.HandlerFunc
Authentication 接口鉴权
Types ¶
type HttpNotify ¶
type HttpNotify struct {
// contains filtered or unexported fields
}
func NewHttpNotify ¶
func NewHttpNotify(cfg config.HttpNotifyConfig, serverId string) *HttpNotify
func (*HttpNotify) NotifyOnHlsMakeTs ¶
func (h *HttpNotify) NotifyOnHlsMakeTs(info base.HlsMakeTsInfo)
func (*HttpNotify) NotifyPubStart ¶
func (h *HttpNotify) NotifyPubStart(info base.PubStartInfo)
func (*HttpNotify) NotifyPubStop ¶
func (h *HttpNotify) NotifyPubStop(info base.PubStopInfo)
func (*HttpNotify) NotifyPullStart ¶
func (h *HttpNotify) NotifyPullStart(info base.PullStartInfo)
func (*HttpNotify) NotifyPullStop ¶
func (h *HttpNotify) NotifyPullStop(info base.PullStopInfo)
func (*HttpNotify) NotifyRtmpConnect ¶
func (h *HttpNotify) NotifyRtmpConnect(info base.RtmpConnectInfo)
func (*HttpNotify) NotifyServerStart ¶
func (h *HttpNotify) NotifyServerStart(info base.LalInfo)
func (*HttpNotify) NotifySubStart ¶
func (h *HttpNotify) NotifySubStart(info base.SubStartInfo)
func (*HttpNotify) NotifySubStop ¶
func (h *HttpNotify) NotifySubStop(info base.SubStopInfo)
func (*HttpNotify) NotifyUpdate ¶
func (h *HttpNotify) NotifyUpdate(info base.UpdateInfo)
func (*HttpNotify) NotifyUpdateRunLoop ¶
func (h *HttpNotify) NotifyUpdateRunLoop()
func (*HttpNotify) OnHlsMakeTs ¶
func (h *HttpNotify) OnHlsMakeTs(info base.HlsMakeTsInfo)
func (*HttpNotify) OnPubStart ¶
func (h *HttpNotify) OnPubStart(info base.PubStartInfo)
func (*HttpNotify) OnPubStop ¶
func (h *HttpNotify) OnPubStop(info base.PubStopInfo)
func (*HttpNotify) OnRelayPullStart ¶
func (h *HttpNotify) OnRelayPullStart(info base.PullStartInfo)
func (*HttpNotify) OnRelayPullStop ¶
func (h *HttpNotify) OnRelayPullStop(info base.PullStopInfo)
func (*HttpNotify) OnRtmpConnect ¶
func (h *HttpNotify) OnRtmpConnect(info base.RtmpConnectInfo)
func (*HttpNotify) OnServerStart ¶
func (h *HttpNotify) OnServerStart(info base.LalInfo)
func (*HttpNotify) OnSubStart ¶
func (h *HttpNotify) OnSubStart(info base.SubStartInfo)
func (*HttpNotify) OnSubStop ¶
func (h *HttpNotify) OnSubStop(info base.SubStopInfo)
func (*HttpNotify) OnUpdate ¶
func (h *HttpNotify) OnUpdate(info base.UpdateInfo)
func (*HttpNotify) RunLoop ¶
func (h *HttpNotify) RunLoop()
type LalMaxServer ¶
type LalMaxServer struct {
// contains filtered or unexported fields
}
func NewLalMaxServer ¶
func NewLalMaxServer(conf *config.Config) (*LalMaxServer, error)
func (*LalMaxServer) Cors ¶
func (s *LalMaxServer) Cors() gin.HandlerFunc
func (*LalMaxServer) HandleHls ¶
func (s *LalMaxServer) HandleHls(c *gin.Context)
func (*LalMaxServer) HandleHttpFmp4 ¶
func (s *LalMaxServer) HandleHttpFmp4(c *gin.Context)
func (*LalMaxServer) HandleJessibuca ¶
func (s *LalMaxServer) HandleJessibuca(c *gin.Context)
func (*LalMaxServer) HandleOnvifPull ¶
func (s *LalMaxServer) HandleOnvifPull(c *gin.Context)
func (*LalMaxServer) HandleWHEP ¶
func (s *LalMaxServer) HandleWHEP(c *gin.Context)
func (*LalMaxServer) HandleWHIP ¶
func (s *LalMaxServer) HandleWHIP(c *gin.Context)
func (*LalMaxServer) InitRouter ¶
func (s *LalMaxServer) InitRouter(router *gin.Engine)
func (*LalMaxServer) Run ¶
func (s *LalMaxServer) Run() (err error)
Click to show internal directories.
Click to hide internal directories.