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 ButterflyLooper ¶
func ButterflyLooper(height int) (*H264VideoLooper, error)
func NewH264VideoLooper ¶
func NewH264VideoLooper(input io.Reader, spec *videoSpec) (*H264VideoLooper, error)
func (*H264VideoLooper) Codec ¶
func (l *H264VideoLooper) Codec() webrtc.RTPCodecCapability
func (*H264VideoLooper) NextSample ¶
func (l *H264VideoLooper) NextSample() (media.Sample, error)
func (*H264VideoLooper) ToLayer ¶
func (l *H264VideoLooper) ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer
type VP8VideoLooper ¶ added in v0.8.0
type VP8VideoLooper struct { lksdk.BaseSampleProvider // contains filtered or unexported fields }
func NewVP8VideoLooper ¶ added in v0.8.0
func NewVP8VideoLooper(input io.Reader, spec *videoSpec) (*VP8VideoLooper, error)
func (*VP8VideoLooper) Codec ¶ added in v0.8.0
func (l *VP8VideoLooper) Codec() webrtc.RTPCodecCapability
func (*VP8VideoLooper) NextSample ¶ added in v0.8.0
func (l *VP8VideoLooper) NextSample() (media.Sample, error)
func (*VP8VideoLooper) ToLayer ¶ added in v0.8.0
func (l *VP8VideoLooper) ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer
type VideoLooper ¶ added in v0.8.0
type VideoLooper interface { lksdk.SampleProvider Codec() webrtc.RTPCodecCapability ToLayer(quality livekit.VideoQuality) *livekit.VideoLayer }
func CreateLoopers ¶ added in v0.8.0
func CreateLoopers(resolution string, codecFilter string, simulcast bool) ([]VideoLooper, error)
Click to show internal directories.
Click to hide internal directories.