Documentation ¶
Index ¶
- Constants
- func IsInstalled() bool
- func MaskImage(src []byte, maskImage []byte, fontsize, x, y int) ([]byte, error)
- func MaskText(src []byte, text string, fontsize, x, y int) ([]byte, error)
- func Resize()
- func TranscodeBuffer(data []byte)
- func TranscodeFile(filename string)
- type TransmitType
- type Transmitter
Constants ¶
View Source
const ( TransmitRtsp2Rtmp = iota TransmitFile2Rtmp )
Variables ¶
This section is empty.
Functions ¶
func IsInstalled ¶
func IsInstalled() bool
func TranscodeBuffer ¶
func TranscodeBuffer(data []byte)
func TranscodeFile ¶
func TranscodeFile(filename string)
Types ¶
type TransmitType ¶
type TransmitType int
type Transmitter ¶
type Transmitter struct {
// contains filtered or unexported fields
}
func NewTransmitter ¶
func NewTransmitter(inputUrl, outputUrl string, transmitType TransmitType, logger std_logger.StdLogger) (*Transmitter, error)
func (*Transmitter) Close ¶
func (t *Transmitter) Close()
func (*Transmitter) GetPid ¶
func (t *Transmitter) GetPid() gproc.ProcId
func (*Transmitter) RunNowait ¶
func (t *Transmitter) RunNowait(retry bool)
func (*Transmitter) Wait ¶
func (t *Transmitter) Wait()
Click to show internal directories.
Click to hide internal directories.