public class RTCCodec extends RTCStats
Modifier | Constructor and Description |
---|---|
protected |
RTCCodec()
Default private constructor of RTCCodec for serialization with Jackson
|
|
RTCCodec(String id,
StatsType type,
double timestamp,
long timestampMillis,
long payloadType,
String codec,
long clockRate,
long channels,
String parameters)
Create a RTCCodec
|
Modifier and Type | Method and Description |
---|---|
long |
getChannels()
get Use 2 for stereo, missing for most other cases.
|
long |
getClockRate()
get Represents the media sampling rate.
|
String |
getCodec()
get e.g., video/vp8 or equivalent.
|
String |
getParameters()
get From the SDP description line.
|
long |
getPayloadType()
get Payload type as used in RTP encoding.
|
void |
setChannels(long channels)
set Use 2 for stereo, missing for most other cases.
|
void |
setClockRate(long clockRate)
set Represents the media sampling rate.
|
void |
setCodec(String codec)
set e.g., video/vp8 or equivalent.
|
void |
setParameters(String parameters)
set From the SDP description line.
|
void |
setPayloadType(long payloadType)
set Payload type as used in RTP encoding.
|
getId, getTimestamp, getTimestampMillis, getType, setId, setTimestamp, setTimestampMillis, setType
protected RTCCodec()
public long getPayloadType()
public void setPayloadType(long payloadType)
public String getCodec()
public void setCodec(String codec)
public long getClockRate()
public void setClockRate(long clockRate)
public long getChannels()
public void setChannels(long channels)
public String getParameters()
public void setParameters(String parameters)
Copyright © 2022 Kurento. All rights reserved.