Class Depacketizer
A VP8 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.Vp8
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
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 | A fragment. |
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp8.Fragment>.DoCreateFragment(FM.LiveSwitch.RtpPacketHeader, FM.LiveSwitch.DataBuffer)
DoDestroy()
Destroys this instance.
Declaration
protected override void DoDestroy()
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp8.Fragment>.DoDestroy()
IsGapAllowed(Fragment, Fragment)
Determines whether a gap between two fragments is allowed.
Declaration
protected override bool IsGapAllowed(Fragment fragment, Fragment lastFragment)
Parameters
Type | Name | Description |
---|---|---|
Fragment | fragment | The fragment. |
Fragment | lastFragment | The last fragment. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp8.Fragment>.IsGapAllowed(FM.LiveSwitch.Vp8.Fragment, FM.LiveSwitch.Vp8.Fragment)
IsKeyFrame(DataBuffer)
Determines whether a buffer represents the start of a keyframe.
Declaration
protected override bool IsKeyFrame(DataBuffer inputBuffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | inputBuffer | The buffer. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
FM.LiveSwitch.VideoDepacketizer<FM.LiveSwitch.Vp8.Fragment>.IsKeyFrame(FM.LiveSwitch.DataBuffer)