Class PacketizedVideoBuffer
A VideoBuffer containing an RtpHeader.
Inheritance
System.Object
PacketizedVideoBuffer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class PacketizedVideoBuffer : VideoBuffer
Constructors
PacketizedVideoBuffer(Int32, Int32, DataBuffer, VideoFormat, RtpPacketHeader)
Initializes a new instance of the PacketizedVideoBuffer class.
Declaration
public PacketizedVideoBuffer(int width, int height, DataBuffer dataBuffer, VideoFormat format, RtpPacketHeader rtpHeader)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | The width. |
System.Int32 | height | The height. |
DataBuffer | dataBuffer | The data buffer. |
VideoFormat | format | The format. |
RtpPacketHeader | rtpHeader | The RTP header. |
PacketizedVideoBuffer(Int32, Int32, DataBuffer[], VideoFormat, RtpPacketHeader[])
Initializes a new instance of the PacketizedVideoBuffer class.
Declaration
public PacketizedVideoBuffer(int width, int height, DataBuffer[] dataBuffers, VideoFormat format, RtpPacketHeader[] rtpHeaders)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | The width. |
System.Int32 | height | The height. |
DataBuffer[] | dataBuffers | The data buffers. |
VideoFormat | format | The format. |
RtpPacketHeader[] | rtpHeaders | The RTP headers. |
Methods
CreateInstance()
Creates a new instance.
Declaration
protected override VideoBuffer CreateInstance()
Returns
Type | Description |
---|---|
VideoBuffer |