Class Depacketizer
A VP9 depacketizer.
Inheritance
System.Object
MediaPipe<IVideoOutput, IVideoOutputCollection, IVideoInput, IVideoInputCollection, VideoPipe, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>
Depacketizer
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch.Vp9
Assembly: FM.LiveSwitch.dll
Syntax
public class Depacketizer : VideoDepacketizer<Fragment>, IVideoInput, IMediaInput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IInput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoOutput, IMediaOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoElement, IMediaElement, IElement
Constructors
Depacketizer()
Initializes a new instance of the Depacketizer class.
Declaration
public Depacketizer()
Depacketizer(IVideoOutput)
Initializes a new instance of the Depacketizer class.
Declaration
public Depacketizer(IVideoOutput input)
Parameters
Type | Name | Description |
---|---|---|
IVideoOutput | input | The input. |
Properties
Label
Gets a label that identifies this class.
Declaration
public override string Label { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
FM.LiveSwitch.MediaPipe<FM.LiveSwitch.IVideoOutput, FM.LiveSwitch.IVideoOutputCollection, FM.LiveSwitch.IVideoInput, FM.LiveSwitch.IVideoInputCollection, FM.LiveSwitch.VideoPipe, FM.LiveSwitch.VideoFrame, FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoBufferCollection, FM.LiveSwitch.VideoFormat>.Label
SequenceNumberingViolated
Gets or sets whether RTP sequence numbering has been violated.
Declaration
public bool SequenceNumberingViolated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
DoCreateFragment(RtpPacketHeader, DataBuffer)
Creates a fragment from a data buffer.
Declaration
protected override Fragment DoCreateFragment(RtpPacketHeader header, DataBuffer dataBuffer)
Parameters
Type | Name | Description |
---|---|---|
RtpPacketHeader | header | The rtp header for this packet. |
DataBuffer | dataBuffer | The data buffer. |
Returns
Type | Description |
---|---|
Fragment |
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp9.Fragment>.DoCreateFragment(FM.LiveSwitch.RtpPacketHeader, FM.LiveSwitch.DataBuffer)
DoDestroy()
Destroys this instance.
Declaration
protected override void DoDestroy()
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp9.Fragment>.DoDestroy()
IsKeyFrame(DataBuffer)
Checks if the databuffer contains a keyframe.
Declaration
protected override bool IsKeyFrame(DataBuffer inputBuffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | inputBuffer | VideoBuffer containing video data. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp9.Fragment>.IsKeyFrame(FM.LiveSwitch.DataBuffer)