C# Class SIPSorcery.Net.RTPFrame

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
FrameType FrameTypesEnum
HasBeenProcessed bool
HasMarker bool
Timestamp uint

Public Methods

Method Description
AddRTPPacket ( RTPPacket rtpPacket ) : void
GetFramePayload ( ) : byte[]
IsComplete ( ) : bool
MakeSinglePacketFrame ( RTPPacket rtpPacket ) : RTPFrame

Audio frames are generally contained within a single RTP packet. This method is a shortcut to construct a frame from a single RTP packet.

RTPFrame ( ) : System

Method Details

AddRTPPacket() public method

public AddRTPPacket ( RTPPacket rtpPacket ) : void
rtpPacket RTPPacket
return void

GetFramePayload() public method

public GetFramePayload ( ) : byte[]
return byte[]

IsComplete() public method

public IsComplete ( ) : bool
return bool

MakeSinglePacketFrame() public static method

Audio frames are generally contained within a single RTP packet. This method is a shortcut to construct a frame from a single RTP packet.
public static MakeSinglePacketFrame ( RTPPacket rtpPacket ) : RTPFrame
rtpPacket RTPPacket
return RTPFrame

RTPFrame() public method

public RTPFrame ( ) : System
return System

Property Details

FrameType public property

public FrameTypesEnum FrameType
return FrameTypesEnum

HasBeenProcessed public property

public bool HasBeenProcessed
return bool

HasMarker public property

public bool HasMarker
return bool

Timestamp public property

public uint Timestamp
return uint