public class TransformOutputStreamImpl extends AbstractTransformOutputStream
OutputDataStream in the implementation of the interface
TransformOutputStream.| Constructor and Description |
|---|
TransformOutputStreamImpl(javax.media.rtp.OutputDataStream outputDataStream)
Initializes a new
TransformOutputStreamImpl which is to
facilitate a specific OutputDataStream in the implementation of
the interface TransformOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
setTransformer(PacketTransformer transformer)
Sets the
PacketTransformer to be used by this instance to
transform RawPackets. |
protected RawPacket[] |
transform(RawPacket[] pkts,
Object after)
Transforms a specified array of
RawPackets using the
PacketTransformer associated with this instance (if any). |
int |
write(byte[] buf,
int off,
int len) |
getTransformer, transformpublic TransformOutputStreamImpl(javax.media.rtp.OutputDataStream outputDataStream)
TransformOutputStreamImpl which is to
facilitate a specific OutputDataStream in the implementation of
the interface TransformOutputStream.outputDataStream - the OutputDataStream the new instance is
to facilitate in the implementation of the interface
TransformOutputStreampublic final void setTransformer(PacketTransformer transformer)
PacketTransformer to be used by this instance to
transform RawPackets.setTransformer in interface TransformOutputStreamsetTransformer in class AbstractTransformOutputStreamtransformer - the PacketTransformer to be used by this
instance to transform RawPacketsprotected RawPacket[] transform(RawPacket[] pkts, Object after)
RawPackets using the
PacketTransformer associated with this instance (if any).pkts - the RawPackets to transformafter - RawPackets which are the result of the
transformation of the specified pkts using the
PacketTransformer associated with this instance. If there is no
PacketTransformer associated with this instance, returns
pkts.public int write(byte[] buf,
int off,
int len)
Copyright © 2022 jitsi.org. All rights reserved.