Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortNumber ¶
type PortNumber uint
port number
func (*PortNumber) Set ¶
func (p *PortNumber) Set(s string) error
func (*PortNumber) String ¶
func (p *PortNumber) String() string
type Resolution ¶
Resolution
func (*Resolution) Set ¶
func (r *Resolution) Set(s string) error
func (*Resolution) String ¶
func (r *Resolution) String() string
type StreamSettings ¶
type StreamSettings struct { // video VideoResolution Resolution VideoEncoder VideoEncoder VideoBaseFramerate uint VideoBaseBitrate uint VideoShowCursor bool // audio AudioBaseBitrate uint AudioBasePacketLossPct uint }
stream settings
func ParseArgs ¶
func ParseArgs() (s StreamSettings, m rabbitmq.MessageBrokerSettings)
type VideoEncoder ¶
type VideoEncoder int
video encoder
const ( VP9 VideoEncoder = 0 H264 VideoEncoder = 1 NVH264 VideoEncoder = 2 )
Supported video encoders ! Must be compatible with encoders defined in C code
func (*VideoEncoder) Set ¶
func (e *VideoEncoder) Set(s string) error
func (*VideoEncoder) String ¶
func (e *VideoEncoder) String() string
Click to show internal directories.
Click to hide internal directories.