Class RTPHeader
java.lang.Object
com.exxothermic.audioeverywheresdk.business.model.RTPHeader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
long
long
int
toString()
void
updateHederFieldsForPackage
(byte[] packet, int length) Create the respective RTP header for the provided data.
-
Constructor Details
-
RTPHeader
public RTPHeader()
-
-
Method Details
-
toString
-
getVersion
public int getVersion() -
getPadding
public int getPadding() -
getExtension
public int getExtension() -
getCsrcCount
public int getCsrcCount() -
getMarker
public int getMarker() -
getPayloadType
public int getPayloadType() -
getSequenceNumber
public int getSequenceNumber() -
getTimestamp
public long getTimestamp() -
getSsrcIdentifier
public long getSsrcIdentifier() -
getCsrcIdentifiers
public int getCsrcIdentifiers() -
getRtpHeaderSize
public int getRtpHeaderSize() -
getDatagramSize
public int getDatagramSize() -
updateHederFieldsForPackage
public void updateHederFieldsForPackage(byte[] packet, int length) Create the respective RTP header for the provided data.- Parameters:
packet
- the raw package from which the RTP header will be extractedlength
- the length for the package, used to calculate the payload
-