public abstract class AbstractRTPTranslator extends Object implements RTPTranslator
RTPTranslator which aid the
implementation of the interface.RTPTranslator.WriteFilter| Constructor and Description |
|---|
AbstractRTPTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWriteFilter(RTPTranslator.WriteFilter writeFilter)
Adds a WriteFilter to this RTPTranslator.
|
protected RTPTranslator.WriteFilter[] |
getWriteFilters()
Gets the WriteFilters added to this RTPTranslator.
|
void |
removeWriteFilter(RTPTranslator.WriteFilter writeFilter)
Removes a WriteFilter from this RTPTranslator.
|
protected boolean |
willWrite(MediaStream source,
RawPacket pkt,
MediaStream destination,
boolean data)
Notifies this RTPTranslator that a buffer from a
source will be written into a destination.
|
protected boolean |
willWrite(RTPTranslator.WriteFilter writeFilter,
MediaStream source,
RawPacket pkt,
MediaStream destination,
boolean data)
Invokes a specific WriteFilter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, findStreamRTPManagerByReceiveSSRC, getSSRCCache, getStreamRTPManagerspublic void addWriteFilter(RTPTranslator.WriteFilter writeFilter)
addWriteFilter in interface RTPTranslatorwriteFilter - the WriteFilter to add to this
RTPTranslatorprotected RTPTranslator.WriteFilter[] getWriteFilters()
public void removeWriteFilter(RTPTranslator.WriteFilter writeFilter)
removeWriteFilter in interface RTPTranslatorwriteFilter - the WriteFilter to remove from this
RTPTranslatorprotected boolean willWrite(MediaStream source, RawPacket pkt, MediaStream destination, boolean data)
source - the source of bufferpkt - the packet from source which is to be written into
destinationdestination - the destination into which buffer is to be
writtendata - true for data/RTP or false for control/RTCPprotected boolean willWrite(RTPTranslator.WriteFilter writeFilter, MediaStream source, RawPacket pkt, MediaStream destination, boolean data)
source - the source of bufferpkt - the packet from source which is to be written into
destinationdestination - the destination into which buffer is to be
writtendata - true for data/RTP or false for control/RTCPCopyright © 2022 jitsi.org. All rights reserved.