Documentation
¶
Index ¶
- Variables
- func GetTestExtPacket(params *TestExtPacketParams) (*buffer.ExtPacket, error)
- func GetTestExtPacketVP8(params *TestExtPacketParams, vp8 *codec.VP8) (*buffer.ExtPacket, error)
- func GetTestExtPacketVP8DD(params *TestExtPacketParams, ddParams *TestDDParams) (*buffer.ExtPacket, error)
- type TestDDParams
- type TestExtPacketParams
Constants ¶
This section is empty.
Variables ¶
View Source
var TestOpusCodec = webrtc.RTPCodecCapability{
MimeType: "audio/opus",
ClockRate: 48000,
}
View Source
var TestVP8Codec = webrtc.RTPCodecCapability{
MimeType: "video/vp8",
ClockRate: 90000,
}
View Source
var TestVP8DecodeTargets = []buffer.DependencyDescriptorDecodeTarget{ {Target: 2, Layer: buffer.VideoLayer{Temporal: 2}}, {Target: 1, Layer: buffer.VideoLayer{Temporal: 1}}, {Target: 0, Layer: buffer.VideoLayer{Temporal: 0}}, }
TestVP8DecodeTargets are the decode targets of libwebrtc's three layer VP8 structure, sorted from high to low.
Functions ¶
func GetTestExtPacket ¶
func GetTestExtPacket(params *TestExtPacketParams) (*buffer.ExtPacket, error)
func GetTestExtPacketVP8 ¶
func GetTestExtPacketVP8DD ¶ added in v1.13.10
func GetTestExtPacketVP8DD(params *TestExtPacketParams, ddParams *TestDDParams) (*buffer.ExtPacket, error)
GetTestExtPacketVP8DD returns a VP8 packet with a dependency descriptor and the minimized VP8 payload descriptor that libwebrtc sends with it: no TID, no Y bit and no picture ID.
Types ¶
type TestDDParams ¶ added in v1.13.10
Click to show internal directories.
Click to hide internal directories.