Documentation ¶
Index ¶
- func ProcessRtpPacketH264(packet *Packet)
- type EncodingContext
- func (p EncodingContext) GetCurrentSpatialLayer() int16
- func (p EncodingContext) GetCurrentTemporalLayer() int16
- func (p EncodingContext) GetSpatialLayers() uint8
- func (p EncodingContext) GetTargetSpatialLayer() int16
- func (p EncodingContext) GetTargetTemporalLayer() int16
- func (p EncodingContext) GetTemporalLayers() uint8
- func (p EncodingContext) IsKSvc() bool
- func (p *EncodingContext) SetCurrentSpatialLayer(spatialLayer int16)
- func (p *EncodingContext) SetCurrentTemporalLayer(temporalLayer int16)
- func (p *EncodingContext) SetTargetSpatialLayer(spatialLayer int16)
- func (p *EncodingContext) SetTargetTemporalLayer(temporalLayer int16)
- type EncodingContextParam
- type FrameMarking
- type Packet
- func (p *Packet) GetLen() int
- func (p *Packet) GetMid() string
- func (p *Packet) GetRid() string
- func (p *Packet) GetSpatialLayer() uint8
- func (p *Packet) GetTemporalLayer() uint8
- func (p *Packet) IsKeyFrame() bool
- func (p *Packet) ReadFrameMarking(frameMarking *FrameMarking, length *uint8) bool
- func (p *Packet) SetAbsSendTimeExtensionId(id uint8)
- func (p *Packet) SetFrameMarking07ExtensionId(id uint8)
- func (p *Packet) SetFrameMarkingExtensionId(id uint8)
- func (p *Packet) SetMidExtensionId(id uint8)
- func (p *Packet) SetPayloadDescriptorHandler(payloadDescriptorHandler PayloadDescriptorHandler)
- func (p *Packet) SetRepairedRidExtensionId(id uint8)
- func (p *Packet) SetRidExtensionId(id uint8)
- func (p *Packet) SetSsrcAudioLevelExtensionId(id uint8)
- func (p *Packet) SetTransportWideCc01ExtensionId(id uint8)
- func (p *Packet) SetVideoOrientationExtensionId(id uint8)
- func (p *Packet) UpdateMid(mid string) error
- type PayloadDescriptor
- type PayloadDescriptorHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessRtpPacketH264 ¶
func ProcessRtpPacketH264(packet *Packet)
Types ¶
type EncodingContext ¶
type EncodingContext struct {
// contains filtered or unexported fields
}
func NewEncodingContext ¶
func NewEncodingContext(param *EncodingContextParam) *EncodingContext
func (EncodingContext) GetCurrentSpatialLayer ¶
func (p EncodingContext) GetCurrentSpatialLayer() int16
func (EncodingContext) GetCurrentTemporalLayer ¶
func (p EncodingContext) GetCurrentTemporalLayer() int16
func (EncodingContext) GetSpatialLayers ¶
func (p EncodingContext) GetSpatialLayers() uint8
func (EncodingContext) GetTargetSpatialLayer ¶
func (p EncodingContext) GetTargetSpatialLayer() int16
func (EncodingContext) GetTargetTemporalLayer ¶
func (p EncodingContext) GetTargetTemporalLayer() int16
func (EncodingContext) GetTemporalLayers ¶
func (p EncodingContext) GetTemporalLayers() uint8
func (EncodingContext) IsKSvc ¶
func (p EncodingContext) IsKSvc() bool
func (*EncodingContext) SetCurrentSpatialLayer ¶
func (p *EncodingContext) SetCurrentSpatialLayer(spatialLayer int16)
func (*EncodingContext) SetCurrentTemporalLayer ¶
func (p *EncodingContext) SetCurrentTemporalLayer(temporalLayer int16)
func (*EncodingContext) SetTargetSpatialLayer ¶
func (p *EncodingContext) SetTargetSpatialLayer(spatialLayer int16)
func (*EncodingContext) SetTargetTemporalLayer ¶
func (p *EncodingContext) SetTargetTemporalLayer(temporalLayer int16)
type EncodingContextParam ¶
type FrameMarking ¶
type FrameMarking struct {
// contains filtered or unexported fields
}
func Unmarshal ¶
func Unmarshal(buf []byte) *FrameMarking
type Packet ¶
func (*Packet) GetSpatialLayer ¶
func (*Packet) GetTemporalLayer ¶
func (*Packet) IsKeyFrame ¶
func (*Packet) ReadFrameMarking ¶
func (p *Packet) ReadFrameMarking(frameMarking *FrameMarking, length *uint8) bool
func (*Packet) SetAbsSendTimeExtensionId ¶
func (*Packet) SetFrameMarking07ExtensionId ¶
func (*Packet) SetFrameMarkingExtensionId ¶
func (*Packet) SetMidExtensionId ¶
func (*Packet) SetPayloadDescriptorHandler ¶
func (p *Packet) SetPayloadDescriptorHandler(payloadDescriptorHandler PayloadDescriptorHandler)
func (*Packet) SetRepairedRidExtensionId ¶
func (*Packet) SetRidExtensionId ¶
func (*Packet) SetSsrcAudioLevelExtensionId ¶
func (*Packet) SetTransportWideCc01ExtensionId ¶
func (*Packet) SetVideoOrientationExtensionId ¶
type PayloadDescriptor ¶
type PayloadDescriptor struct { }
Click to show internal directories.
Click to hide internal directories.