| Constructor and Description |
|---|
RTPFormat(int id,
Format format)
Creates new format descriptor.
|
RTPFormat(int id,
Format format,
int clockRate)
Creates new descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
RTPFormat |
clone() |
int |
getClockRate()
Gets the rtp clock rate.
|
Format |
getFormat()
Gets format.
|
int |
getID()
Gets the payload number
|
void |
setClockRate(int clockRate)
Modify rtp clock rate.
|
void |
setFormat(Format format)
Modifies format.
|
protected void |
setID(int id)
Modifies payload number.
|
String |
toString() |
public RTPFormat(int id,
Format format)
id - the payload numberformat - format descriptorpublic RTPFormat(int id,
Format format,
int clockRate)
id - payload numberformat - formats descriptorclockRate - RTP clock ratepublic int getID()
protected void setID(int id)
id - the new payload number.public int getClockRate()
public void setClockRate(int clockRate)
clockRate - the new value in Hertz.public Format getFormat()
public void setFormat(Format format)
format - the new format descriptor.Copyright © 2018 TeleStax, Inc.. All rights reserved.