package
Version:
v0.0.0-...-6470968
Opens a new window with list of versions in this module.
Published: Aug 9, 2024
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ISignalServer interface {
Start() error
Close() error
}
type PMSSettings struct {
httpserv.HttpParams `json:"http" mapstructure:"http"`
KeyFrameIntervalSecond time.Duration `json:"keyFrameIntervalSeconds" mapstructure:"keyFrameIntervalSeconds"`
JoinTimeoutSecond time.Duration `json:"joinTimeoutSeconds" mapstructure:"joinTimeoutSeconds"`
}
type Request struct {
Version string `json:"version"`
Method string `json:"method"`
Stream string `json:"stream"`
Session string `json:"session"`
Data struct {
SDP string `json:"sdp"`
MaxBitrate int `json:"max_bitrate"`
} `json:"data"`
}
type Response struct {
Version string `json:"version"`
Method string `json:"method"`
Err int `json:"err"`
ErrMsg string `json:"err_msg"`
Session string `json:"session"`
Data struct {
SDP string `json:"sdp"`
} `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.