Property | Type | Description | |
---|---|---|---|
buffer | BufferChunk |
Method | Description | |
---|---|---|
AppendPayload ( BufferChunk data ) : void | ||
AppendPayload ( |
||
AppendPayload ( |
||
PacketBase ( ) : System |
Creates a max size packet
|
|
PacketBase ( BufferChunk buffer ) : System |
Create a packet from an existing buffer
|
|
PacketBase ( |
Create a packet from an existing packet
|
|
PacketBase ( int packetSize ) : System |
Creates a packet of the given size
|
|
ReleaseBuffer ( ) : BufferChunk |
Release the BufferChunk held by this packet so it can be reused outside the scope of this packet.
|
|
Reset ( ) : void |
Method | Description | |
---|---|---|
OnReset ( ) : void | ||
ValidateBuffer ( BufferChunk buffer ) : void |
Make sure the provided buffer might be a real Rtp Packet (version == 2)
|
public AppendPayload ( BufferChunk data ) : void | ||
data | BufferChunk | |
return | void |
public AppendPayload ( |
||
data | ||
return | void |
public AppendPayload ( |
||
ptr | ||
length | int | |
return | void |
public PacketBase ( BufferChunk buffer ) : System | ||
buffer | BufferChunk | |
return | System |
public PacketBase ( |
||
packet | ||
return | System |
public PacketBase ( int packetSize ) : System | ||
packetSize | int | |
return | System |
protected ValidateBuffer ( BufferChunk buffer ) : void | ||
buffer | BufferChunk | |
return | void |