forked from jitsi/jitsi-videobridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jitsi#3 from pstros/CCC
Upgrading integration to release 797
- Loading branch information
Showing
86 changed files
with
9,597 additions
and
4,948 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.java text eol=lf diff=java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/var/log/jitsi/jvb.log { | ||
daily | ||
missingok | ||
rotate 7 | ||
compress | ||
delaycompress | ||
notifempty | ||
copytruncate | ||
su jvb jitsi | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#Messages by COLIBRI class: | ||
|
||
##EndpointMessage: | ||
|
||
|
||
This type of messages could be used by the clients for sending JSON objects to the other clients in the conference. A client can send a message to specific endpoint or a broadcast message. | ||
|
||
|
||
|
||
* The messages processed by Jitsi Videobridge has the following format: | ||
|
||
``` | ||
{ | ||
colibriClass: "EndpointMessage", | ||
to: `<ENDPOINT-ID>`, | ||
msgPayload: `<PAYLOAD>` | ||
} | ||
``` | ||
|
||
`<PAYLOAD>` is valid JSON string. | ||
`<ENDPOINT-ID>` is endpoint id of existing participant or `""` for broadcast message. | ||
|
||
* The messages sent by Jitsi Videobridge has the following format: | ||
|
||
|
||
``` | ||
{ | ||
colibriClass: "EndpointMessage", | ||
to: `<ENDPOINT-ID>`, | ||
from: `<ENDPOINT-ID>`, | ||
msgPayload: <PAYLOAD> | ||
} | ||
``` | ||
|
||
|
||
The only modification made by Jitsi Videobridge before the message is forwarded is adding `from` property to it. The value of this property is the endpoint id of the sender of the message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Introduction | ||
|
||
This document describes some methods and techniques that can be used to debug | ||
the JVB. | ||
|
||
# Capturing packets | ||
|
||
The JVB can be configured to log all (or just some) of the incoming/outgoing | ||
packets that it receives/sends. In order to capture all RTP/RTCP traffic, you | ||
can setup logging like this: | ||
|
||
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=1 | ||
net.java.sip.communicator.packetlogging.PACKET_LOGGING_FILE_SIZE=-1 | ||
|
||
Optionally, you can log the packets to a named pipe like this: | ||
|
||
mkfifo ~/.sip-communicator/log/jitsi0.pcap | ||
|
||
If you log to a named pipe, you can launch Wireshark like this (assuming that | ||
you're using Bash): | ||
|
||
wireshark -k -i < (cat ~/.sip-communicator/log/jitsi0.pcap) | ||
|
||
# Scripting the bridge | ||
|
||
You can script the bridge using Groovy. This functionality is not baked in the | ||
vanilla bridge for security reasons, so you have to download and compile and | ||
configure the shell yourself. Here | ||
https://github.com/jitsi/jitsi-videobridge-groovysh you can find more | ||
information on how to do that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.