public class DebugTransformEngine extends java.lang.Object implements TransformEngine
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true net.java.sip.communicator.packetlogging.PACKET_LOGGING_ARBITRARY_ENABLED=true net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=1 net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=-1Next, you setup a named pipe like this:
mkfifo ~/.sip-communicator/log/jitsi0.pcapFinally, you can launch Wireshark like this (assuming that you're using Bash):
wireshark -k -i <(cat ~/.sip-communicator/log/jitsi0.pcap)
Modifier and Type | Class and Description |
---|---|
(package private) class |
DebugTransformEngine.MyRTCPPacketTransformer
Logs RTCP packets that go in and out of the MediaStream that
owns this instance.
|
(package private) class |
DebugTransformEngine.MyRTPPacketTransformer
Logs RTP packets that go in and out of the MediaStream that owns
this instance.
|
Modifier and Type | Method and Description |
---|---|
static DebugTransformEngine |
createDebugTransformEngine(MediaStreamImpl mediaStream)
Creates and returns a new DebugTransformEngine if logging is
enabled for PacketLoggingService.ProtocolName.ARBITRARY.
|
SinglePacketTransformer |
getRTCPTransformer()
Gets the PacketTransformer for RTCP packets.
|
SinglePacketTransformer |
getRTPTransformer()
Gets the PacketTransformer for RTP packets.
|
public static DebugTransformEngine createDebugTransformEngine(MediaStreamImpl mediaStream)
mediaStream
- the MediaStream that will own the newly
created DebugTransformEngine.public SinglePacketTransformer getRTCPTransformer()
TransformEngine
getRTCPTransformer
in interface TransformEngine
public SinglePacketTransformer getRTPTransformer()
TransformEngine
getRTPTransformer
in interface TransformEngine
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.