Class PacketizedAudioBuffer
A AudioBuffer containing an RtpHeader.
Inheritance
System.Object
PacketizedAudioBuffer
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
Assembly: FM.LiveSwitch.dll
Syntax
public class PacketizedAudioBuffer : AudioBuffer
Constructors
PacketizedAudioBuffer(DataBuffer, AudioFormat, RtpPacketHeader)
Initializes a new instance of the AudioBuffer class.
Declaration
public PacketizedAudioBuffer(DataBuffer dataBuffer, AudioFormat format, RtpPacketHeader rtpHeader)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | dataBuffer | The data buffer. |
AudioFormat | format | The format. |
RtpPacketHeader | rtpHeader | The RTP header. |
PacketizedAudioBuffer(DataBuffer[], AudioFormat, RtpPacketHeader[])
Initializes a new instance of the AudioBuffer class.
Declaration
public PacketizedAudioBuffer(DataBuffer[] dataBuffers, AudioFormat format, RtpPacketHeader[] rtpHeaders)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer[] | dataBuffers | The data buffers. |
AudioFormat | format | The format. |
RtpPacketHeader[] | rtpHeaders | The RTP headers. |
Methods
CreateInstance()
Creates a new instance.
Declaration
protected override AudioBuffer CreateInstance()
Returns
Type | Description |
---|---|
AudioBuffer |