Class NERoomRtcAudioLayerSendStats
-
- All Implemented Interfaces:
public final class NERoomRtcAudioLayerSendStats
本地音频单条流统计信息
-
-
Field Summary
Fields Modifier and Type Field Description private NERoomRtcAudioStreamType
streamType
private Integer
kbps
private Integer
lossRate
private Long
rtt
private Integer
volume
private Integer
numChannels
private Integer
sentSampleRate
private Integer
capVolume
-
Constructor Summary
Constructors Constructor Description NERoomRtcAudioLayerSendStats(NERoomRtcAudioStreamType streamType, Integer kbps, Integer lossRate, Long rtt, Integer volume, Integer numChannels, Integer sentSampleRate, Integer capVolume)
-
Method Summary
Modifier and Type Method Description final NERoomRtcAudioStreamType
getStreamType()
NERoomRtcAudioStreamType final Unit
setStreamType(NERoomRtcAudioStreamType streamType)
NERoomRtcAudioStreamType final Integer
getKbps()
本地音频发送码率的平均值,单位为 Kbps final Unit
setKbps(Integer kbps)
本地音频发送码率的平均值,单位为 Kbps final Integer
getLossRate()
特定时间内的音频丢包率 final Unit
setLossRate(Integer lossRate)
特定时间内的音频丢包率 final Long
getRtt()
平均往返时延(RTT),单位为毫秒 final Unit
setRtt(Long rtt)
平均往返时延(RTT),单位为毫秒 final Integer
getVolume()
音量,范围为 0~100 final Unit
setVolume(Integer volume)
音量,范围为 0~100 final Integer
getNumChannels()
本地音频采集声道数 final Unit
setNumChannels(Integer numChannels)
本地音频采集声道数 final Integer
getSentSampleRate()
本地音频采样率,单位为 Hz final Unit
setSentSampleRate(Integer sentSampleRate)
本地音频采样率,单位为 Hz final Integer
getCapVolume()
本地用户的采集音量,取值范围为 0,100。 final Unit
setCapVolume(Integer capVolume)
本地用户的采集音量,取值范围为 0,100。 -
-
Method Detail
-
getStreamType
final NERoomRtcAudioStreamType getStreamType()
NERoomRtcAudioStreamType
-
setStreamType
final Unit setStreamType(NERoomRtcAudioStreamType streamType)
NERoomRtcAudioStreamType
-
getLossRate
final Integer getLossRate()
特定时间内的音频丢包率
-
setLossRate
final Unit setLossRate(Integer lossRate)
特定时间内的音频丢包率
-
getNumChannels
final Integer getNumChannels()
本地音频采集声道数
-
setNumChannels
final Unit setNumChannels(Integer numChannels)
本地音频采集声道数
-
getSentSampleRate
final Integer getSentSampleRate()
本地音频采样率,单位为 Hz
-
setSentSampleRate
final Unit setSentSampleRate(Integer sentSampleRate)
本地音频采样率,单位为 Hz
-
getCapVolume
final Integer getCapVolume()
本地用户的采集音量,取值范围为 0,100。
-
setCapVolume
final Unit setCapVolume(Integer capVolume)
本地用户的采集音量,取值范围为 0,100。
-
-
-
-