public class CsrcAudioLevelDispatcher extends Object
| Constructor and Description |
|---|
CsrcAudioLevelDispatcher(AudioMediaStreamImpl mediaStream)
Initializes a new CsrcAudioLevelDispatcher to dispatch events
to a specific AudioMediaStreamImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLevels(long[] levels,
long rtpTime)
A level matrix that we should deliver to our media stream and its
listeners in a separate thread.
|
void |
close()
Closes current
CsrcAudioLevelDispatcher to prevent further
audio level updates delivery to associated media stream. |
public CsrcAudioLevelDispatcher(AudioMediaStreamImpl mediaStream)
mediaStream - the AudioMediaStreamImpl to which the new
instance is to dispatch eventspublic void addLevels(long[] levels,
long rtpTime)
levels - the levels that we'd like to queue for processing.rtpTime - the timestamp carried by the RTP packet which carries the
specified levelspublic void close()
CsrcAudioLevelDispatcher to prevent further
audio level updates delivery to associated media stream.Copyright © 2021 jitsi.org. All rights reserved.