[jitsi-dev] Enabling plain RTP recording in JVB


#1

Hi, George Politis provided me with this information:

···

there's a way to have the JVB capture decrypted traffic for debugging purposes

----------------------------------------
# Packet logging
org.jitsi.impl.neomedia.transform.DebugTransformEngine.LOG_RTP_PAYLOAD=true
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_SIP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_JABBER_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_RTP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ICE4j_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=2
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=100000000

This will produce a pcap file with the decrypted traffic.
----------------------------------------

May I know where to change that (jvb installed via apt) and where the
recordings are stored?

Thanks a lot.

--
Iñaki Baz Castillo
<ibc@aliax.net>


#2

/etc/jitsi/videobridge/sip-communicator.properties

/var/log/jitsi/videobridge/log

/Kaiduan

···

On Thu, May 11, 2017 at 1:25 PM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

Hi, George Politis provided me with this information:

> there's a way to have the JVB capture decrypted traffic for debugging
purposes

----------------------------------------
# Packet logging
org.jitsi.impl.neomedia.transform.DebugTransformEngine.LOG_RTP_
PAYLOAD=true
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_SIP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_
JABBER_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_RTP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ICE4j_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=2
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=100000000

This will produce a pcap file with the decrypted traffic.
----------------------------------------

May I know where to change that (jvb installed via apt) and where the
recordings are stored?

Thanks a lot.

--
Iñaki Baz Castillo
<ibc@aliax.net>

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#3

Thanks a lot

···

2017-05-11 20:18 GMT+02:00 Kaiduan Xie <kaiduanx@gmail.com>:

/etc/jitsi/videobridge/sip-communicator.properties

/var/log/jitsi/videobridge/log

/Kaiduan

On Thu, May 11, 2017 at 1:25 PM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

Hi, George Politis provided me with this information:

> there's a way to have the JVB capture decrypted traffic for debugging
> purposes

----------------------------------------
# Packet logging

org.jitsi.impl.neomedia.transform.DebugTransformEngine.LOG_RTP_PAYLOAD=true
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_SIP_ENABLED=false

net.java.sip.communicator.packetlogging.PACKET_LOGGING_JABBER_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_RTP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ICE4j_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=2
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=100000000

This will produce a pcap file with the decrypted traffic.
----------------------------------------

May I know where to change that (jvb installed via apt) and where the
recordings are stored?

Thanks a lot.

--
Iñaki Baz Castillo
<ibc@aliax.net>

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Iñaki Baz Castillo
<ibc@aliax.net>


#4

Hi, the above settings are supposed to generate a pcap file,
theoretically under /var/log/jitsi/. But I see no pcap file at all. Do
I miss something?

···

2017-05-11 19:25 GMT+02:00 Iñaki Baz Castillo <ibc@aliax.net>:

# Packet logging
org.jitsi.impl.neomedia.transform.DebugTransformEngine.LOG_RTP_PAYLOAD=true
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_SIP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_JABBER_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_RTP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ICE4j_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=2
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=100000000

--
Iñaki Baz Castillo
<ibc@aliax.net>


#5

Great project, this is my first post.

Plain recording works, I'm generating .pcaps was interested in understanding what extra cpu is required. Would running this in production severely limit the scaling?

I need to post process a webm with audio and video on a per endpoint basis. Looking at extracting rtp and getting a combined webm.

Has anyone does this?

Thanks
Stephen

···

-----Original Message-----
From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Iñaki Baz Castillo
Sent: Friday, May 12, 2017 4:57 AM
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Enabling plain RTP recording in JVB

Thanks a lot

2017-05-11 20:18 GMT+02:00 Kaiduan Xie <kaiduanx@gmail.com>:

/etc/jitsi/videobridge/sip-communicator.properties

/var/log/jitsi/videobridge/log

/Kaiduan

On Thu, May 11, 2017 at 1:25 PM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

Hi, George Politis provided me with this information:

> there's a way to have the JVB capture decrypted traffic for
> debugging purposes

----------------------------------------
# Packet logging

org.jitsi.impl.neomedia.transform.DebugTransformEngine.LOG_RTP_PAYLOA
D=true
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true

net.java.sip.communicator.packetlogging.PACKET_LOGGING_ARBITRARY_ENAB
LED=true
net.java.sip.communicator.packetlogging.PACKET_LOGGING_SIP_ENABLED=fa
lse

net.java.sip.communicator.packetlogging.PACKET_LOGGING_JABBER_ENABLED
=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_RTP_ENABLED=fa
lse
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ICE4j_ENABLED=
false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=2
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=1000
00000

This will produce a pcap file with the decrypted traffic.
----------------------------------------

May I know where to change that (jvb installed via apt) and where the
recordings are stored?

Thanks a lot.

--
Iñaki Baz Castillo
<ibc@aliax.net>

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Iñaki Baz Castillo
<ibc@aliax.net>

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6

Hi Stephen,

···

On 12/05/2017 07:33, Stephen Dame wrote:

Great project, this is my first post.

Plain recording works, I'm generating .pcaps was interested in understanding what extra cpu is required. Would running this in production severely limit the scaling?

I need to post process a webm with audio and video on a per endpoint basis. Looking at extracting rtp and getting a combined webm.

Has anyone does this?

This is meant for debugging only. I guess you could extract the media from the pcaps, but AFAIK no one is doing this in production.

Boris


#7

Boris,

Thanks, I will do some quick tests and see what extra CPU is used with 15- 20 users in conference when packet logging in enabled.

Janus-SFU writes decrypted rtp out to a file format called. .mjr and has some programs to create webm,mp4s etc. from this raw data,

I was going to try and convert he pcap to .mjr format and try to take advantage of all these utilities.

Only makes sense if the performance is not greatly reduced in production logging.

Regards.
Stephen.

···

-----Original Message-----
From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Boris Grozev
Sent: Friday, May 12, 2017 11:44 AM
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Enabling plain RTP recording in JVB

Hi Stephen,

On 12/05/2017 07:33, Stephen Dame wrote:

Great project, this is my first post.

Plain recording works, I'm generating .pcaps was interested in understanding what extra cpu is required. Would running this in production severely limit the scaling?

I need to post process a webm with audio and video on a per endpoint basis. Looking at extracting rtp and getting a combined webm.

Has anyone does this?

This is meant for debugging only. I guess you could extract the media from the pcaps, but AFAIK no one is doing this in production.

Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#8

Ignore please, I was using the wrong server.

···

2017-06-05 17:10 GMT+02:00 Iñaki Baz Castillo <ibc@aliax.net>:

org.jitsi.impl.neomedia.transform.DebugTransformEngine.LOG_RTP_PAYLOAD=true
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_SIP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_JABBER_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_RTP_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ICE4j_ENABLED=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_COUNT=2
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=100000000

Hi, the above settings are supposed to generate a pcap file,
theoretically under /var/log/jitsi/. But I see no pcap file at all. Do
I miss something?

--
Iñaki Baz Castillo
<ibc@aliax.net>