fsds

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TCP string = "tcp"
	TLS string = "tls"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agora added in v1.2.4

type Agora struct {
	*Endpoint
	APPID   string
	Token   string
	Channel string
}

func (Agora) String added in v1.2.4

func (agora Agora) String() (string, error)

type Endpoint added in v1.2.4

type Endpoint struct {
	*FSDS
	Type    string
	Profile string
	Dest    string
}

func (Endpoint) String added in v1.2.4

func (e Endpoint) String() string

type FSDS

type FSDS struct {
	Params         map[string]string
	CallerIDName   string
	CallerIDNumber string
}

func (FSDS) String added in v1.2.4

func (fsds FSDS) String() string

type File

type File struct {
	*FSDS
	Path string
	Name string
}

func (File) String

func (f File) String() string

type Gateway added in v1.2.4

type Gateway struct {
	*Endpoint
	GatewayName string
}

func (Gateway) String added in v1.2.4

func (e Gateway) String() string

type IP added in v1.2.4

type IP struct {
	*Endpoint
	IP        string
	Port      string
	Transport string
}

func (IP) String added in v1.2.4

func (e IP) String() string

type PNGFile

type PNGFile struct {
	*File
	MS        string // 图片显示时长
	Alpha     bool   // 是否支持Alpha通道
	PNGFPS    int    // png_fps:帧率,默认为5
	Text      string // 文本,可以以TTS方式播放,但需要提供下列参数
	TTSEngine string // TTS引擎
	TTSVoice  string // TTS发音人
	DText     string // 文字
	FG        string // 显示文本前景色,Web格式,如#FFFFFF
	BG        string // 显示文件背景色,Web格式,如#000000,支持透明度(Alpha Channel),如#00000020
	Size      string // 字体大小,像素值,如24。也支持相对大小,如5vw、5vh,等,其中一个vw或vh分别为图像宽度和高度的百分之一
	ScaleW    string // 缩放图像宽度,像素
	ScaleH    string // 缩放图像高度,像素

}

func (PNGFile) String

func (f PNGFile) String() (string, error)

type TRTC added in v1.2.4

type TRTC struct {
	*Endpoint
	AppId   string
	RoomId  string
	UserId  string
	UserSig string
}

func (TRTC) String added in v1.2.4

func (trtc TRTC) String() (string, error)

type User

type User struct {
	*Endpoint
	Domain string
}

func (User) String

func (e User) String() string

type VVFile added in v1.2.4

type VVFile struct {
	*Endpoint
	VVMs   string
	Engine string
	Voice  string
	Text   string
}

func (VVFile) String added in v1.2.4

func (vvFile VVFile) String() (string, error)

type XRTC added in v1.2.4

type XRTC struct {
	*Endpoint
	VideoUseAudioIce    string
	RtpPayloadSpace     string
	AbsoluteCodecString string
	Url                 string
}

func (XRTC) String added in v1.2.4

func (xrtc XRTC) String() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL