Class RawPacket
Inheritance
System.Object
RawPacket
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()
Assembly: SIPSorcery.dll
Syntax
Constructors
|
Improve this Doc
View Source
RawPacket()
Declaration
|
Improve this Doc
View Source
RawPacket(Byte[], Int32, Int32)
Declaration
public RawPacket(byte[] data, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Fields
|
Improve this Doc
View Source
Declaration
public const int EXT_HEADER_SIZE = 4
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int FIXED_HEADER_SIZE = 12
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RTP_PACKET_MAX_SIZE
Declaration
public const int RTP_PACKET_MAX_SIZE = 8192
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Append(Byte[], Int32)
Declaration
public void Append(byte[] data, int len)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Int32 |
len |
|
|
Improve this Doc
View Source
GetBuffer()
Declaration
public MemoryStream GetBuffer()
Returns
Type |
Description |
System.IO.MemoryStream |
|
|
Improve this Doc
View Source
GetCsrcCount()
Declaration
public int GetCsrcCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetData()
Declaration
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
GetExtensionBit()
Declaration
public bool GetExtensionBit()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetExtensionLength()
Declaration
public int GetExtensionLength()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public int GetHeaderLength()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetLength()
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPaddingSize()
Declaration
public int GetPaddingSize()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPayload()
Declaration
public byte[] GetPayload()
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
GetPayloadLength()
Declaration
public int GetPayloadLength()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetPayloadType()
Declaration
public byte GetPayloadType()
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetRTCPSSRC()
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSequenceNumber()
Declaration
public int GetSequenceNumber()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSRTCPIndex(Int32)
Declaration
public int GetSRTCPIndex(int authTagLen)
Parameters
Type |
Name |
Description |
System.Int32 |
authTagLen |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetSSRC()
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetTimestamp()
Declaration
public long GetTimestamp()
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Grow(Int32)
Declaration
public void Grow(int delta)
Parameters
Type |
Name |
Description |
System.Int32 |
delta |
|
|
Improve this Doc
View Source
ReadInt(Int32)
Declaration
public int ReadInt(int off)
Parameters
Type |
Name |
Description |
System.Int32 |
off |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ReadRegion(Int32, Int32)
Declaration
public byte[] ReadRegion(int off, int len)
Parameters
Type |
Name |
Description |
System.Int32 |
off |
|
System.Int32 |
len |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
ReadRegionToBuff(Int32, Int32, Byte[])
Declaration
public void ReadRegionToBuff(int off, int len, byte[] outBuff)
Parameters
Type |
Name |
Description |
System.Int32 |
off |
|
System.Int32 |
len |
|
System.Byte[] |
outBuff |
|
|
Improve this Doc
View Source
ReadUnsignedIntAsLong(Int32)
Declaration
public long ReadUnsignedIntAsLong(int off)
Parameters
Type |
Name |
Description |
System.Int32 |
off |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
ReadUnsignedShortAsInt(Int32)
Declaration
public int ReadUnsignedShortAsInt(int off)
Parameters
Type |
Name |
Description |
System.Int32 |
off |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
shrink(Int32)
Declaration
public void shrink(int delta)
Parameters
Type |
Name |
Description |
System.Int32 |
delta |
|
|
Improve this Doc
View Source
Wrap(Byte[], Int32, Int32)
Declaration
public void Wrap(byte[] data, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Extension Methods