public class RtcpAttribute extends AttributeField
The RTCP attribute is used to document the RTCP port used for media stream, when that port is not the next higher (odd) port number following the RTP port described in the media line.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_TYPE |
ATTRIBUTE_SEPARATOR, BEGIN, BEGIN_LENGTH, builder, FIELD_TYPE, key, valueFIELD_SEPARATOR| Constructor and Description |
|---|
RtcpAttribute() |
RtcpAttribute(int port) |
RtcpAttribute(int port,
String networkType,
String addressType,
String address) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
String |
getAddressType() |
String |
getNetworkType() |
int |
getPort() |
void |
setAddress(String address) |
void |
setAddressType(String addressType) |
void |
setNetworkType(String networkType) |
void |
setPort(int port) |
String |
toString() |
getFieldType, getKey, getValuepublic static final String ATTRIBUTE_TYPE
public RtcpAttribute()
public RtcpAttribute(int port)
public int getPort()
public void setPort(int port)
public String getNetworkType()
public void setNetworkType(String networkType)
public String getAddressType()
public void setAddressType(String addressType)
public String getAddress()
public void setAddress(String address)
public String toString()
toString in class AttributeFieldCopyright © 2018 TeleStax, Inc.. All rights reserved.