Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type H264VideoLooper ¶
type H264VideoLooper struct {
lksdk.BaseSampleProvider
// contains filtered or unexported fields
}
func NewH264VideoLooper ¶
func NewH264VideoLooper(input io.Reader, spec *videoSpec) (*H264VideoLooper, error)
func (*H264VideoLooper) Codec ¶
func (l *H264VideoLooper) Codec() webrtc.RTPCodecCapability
func (*H264VideoLooper) NextSample ¶
func (*H264VideoLooper) ToLayer ¶
func (l *H264VideoLooper) ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer
type Looper ¶
type Looper interface {
lksdk.SampleProvider
Codec() webrtc.RTPCodecCapability
}
type OpusAudioLooper ¶
type OpusAudioLooper struct {
lksdk.BaseSampleProvider
// contains filtered or unexported fields
}
func CreateAudioLooper ¶
func CreateAudioLooper() (*OpusAudioLooper, error)
func NewOpusAudioLooper ¶
func NewOpusAudioLooper(input io.Reader) (*OpusAudioLooper, error)
func (*OpusAudioLooper) Codec ¶
func (l *OpusAudioLooper) Codec() webrtc.RTPCodecCapability
func (*OpusAudioLooper) NextSample ¶
type VP8VideoLooper ¶
type VP8VideoLooper struct {
lksdk.BaseSampleProvider
// contains filtered or unexported fields
}
func NewVP8VideoLooper ¶
func NewVP8VideoLooper(input io.Reader, spec *videoSpec) (*VP8VideoLooper, error)
func (*VP8VideoLooper) Codec ¶
func (l *VP8VideoLooper) Codec() webrtc.RTPCodecCapability
func (*VP8VideoLooper) NextSample ¶
func (*VP8VideoLooper) ToLayer ¶
func (l *VP8VideoLooper) ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer
type VideoLooper ¶
type VideoLooper interface {
Looper
ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer
}
func CreateVideoLoopers ¶
func CreateVideoLoopers(resolution string, codecFilter string, simulcast bool) ([]VideoLooper, error)
Click to show internal directories.
Click to hide internal directories.