Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from jitsi:master #36

Open
wants to merge 169 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
ff0c92a
Bump mvn version to 2.3. (#2002)
bgrozev Mar 15, 2023
dcff6f6
feat: Support setting the initial value of last-n through colibri2. (…
bgrozev Mar 16, 2023
1f4c4d4
Add datachannel support for relay message transport. (#2001)
JonathanLennox Mar 16, 2023
7a3271b
Bump jitsi-sctp, pass logger to sctp sockets. (#2004)
JonathanLennox Mar 17, 2023
33ef732
Fix setting transport for relays not using sctp. (#2005)
JonathanLennox Mar 20, 2023
fb3a86c
Set prometheus namespace to jitsi_jvb. (#2006)
bgrozev Mar 21, 2023
bcfde3f
Send the set of forwarded sources when the message transport connects…
bgrozev Mar 22, 2023
7aedd9a
ref(colibri2 session participant re-invite): specific colibri2 unknow…
mykhailo-ua Mar 24, 2023
4339a9f
Put assumed-bandwidth-bps behind a config flag. (#2008)
bgrozev Apr 3, 2023
c3028de
Call conference.addEndpoints() a single time when adding RelayedEndpo…
bgrozev Apr 10, 2023
d808da2
Don't expire a conference that's in multiple meshes. (#2012)
JonathanLennox Apr 10, 2023
0679632
Don't call _mediaSources.getMediaSources() twice when setting Relayed…
JonathanLennox Apr 10, 2023
18476a9
Add meshId to debug state. (#2009)
bgrozev Apr 10, 2023
4fb5082
Add stats for packet rate organized by conference size. (#2013)
bgrozev Apr 12, 2023
45b2966
Update to Jetty 11.0.14. (#2014)
JonathanLennox Apr 19, 2023
6351e0d
Fix XMPP health checks (#2015)
bgrozev Apr 20, 2023
1fd6972
Fix reversed condition adding websockets to transport parameters. (#2…
JonathanLennox Apr 21, 2023
6befa62
fix: Fix sending preemptive keyframe requests with source names, do n…
bgrozev Apr 24, 2023
0ad3fc6
fix: Correctly read assumed-bandwidth-limit as a Bandwidth. (#2018)
bgrozev Apr 25, 2023
b286dc0
fix: Fix PacketCacher stats aggregation. (#2019)
bgrozev Apr 25, 2023
fc17337
Log uncaught exceptions. (#2020)
bgrozev May 2, 2023
9eefa65
Disable SCTP UDP encapsulation. (#2022)
JonathanLennox May 8, 2023
6d865d1
fix: Fix broken audio when SSRC rewriting with relays (#2024)
bgrozev May 18, 2023
9563221
log: Remove redundant log context. (#2023)
bgrozev May 18, 2023
0c842f0
fix: Do not update RTT when the calculated value is invalid (#2025)
bgrozev May 25, 2023
1da507f
Use source names as keys to effective constraints debug state. (#2026)
JonathanLennox Jun 2, 2023
5e55fdf
Generalize SsrcCache codec-specific packet rewriting code. (#2027)
JonathanLennox Jun 8, 2023
7fabc45
Update to ktlint-maven-plugin 1.16.0. (#2029)
JonathanLennox Jun 15, 2023
aa706bc
Update jitsi-xmpp-extensions and jitsi-utils. (#2030)
JonathanLennox Jun 16, 2023
25bb1ed
Don't consider visitor endpoints in ConferenceSpeechActivity. (#2031)
JonathanLennox Jun 20, 2023
64f0751
Include packet handler stats in RtpSenderImpl stats. (#2032)
JonathanLennox Jun 30, 2023
03a0a80
Improve naming of MediaSources stats. (#2033)
JonathanLennox Jul 3, 2023
165c6db
Improve trace logs for BandwidthAllocation. (#2034)
JonathanLennox Jul 3, 2023
8a01e05
use correct JVB_CONFIG_FILE var
luocongqiu Jul 7, 2023
44a0533
Bump Bouncycastle to version 1.75. (#2036)
JonathanLennox Jul 11, 2023
99534de
chore(deps): Bump guava from 31.0.1-jre to 32.0.0-jre in /jvb (#2028)
dependabot[bot] Aug 3, 2023
5fd429e
Remove maxReceiverVideoConstraints (unused). (#2038)
bgrozev Aug 3, 2023
2edebdd
ref: Simplify (avoid unnecessary cast). (#2037)
bgrozev Aug 3, 2023
1a86219
ref: Cleanup BridgeChannelMessage (remove unnecessary type field). (#…
bgrozev Aug 8, 2023
8bb3315
Expose some internal BWE statistics in GoogleCcEstimator stats. (#2041)
JonathanLennox Aug 21, 2023
194c8f7
log: Log "meeting_id" instead of "meetingId" for easier matching. (#2…
bgrozev Aug 23, 2023
a8d8a78
Increase consent check and inactivity intervals. (#2044)
bgrozev Aug 24, 2023
461d805
Enable private addresses for ICE based on a per-endpoint flag. (#2047)
bgrozev Sep 13, 2023
e69ee34
chore: Bump jitsi-xmpp-extensions. (#2048)
bgrozev Sep 13, 2023
8983b11
Revert "Bump Bouncycastle to version 1.75. (#2036)" (#2049)
bgrozev Sep 14, 2023
37da7e1
fix: Fix a leak of WebSocketClients. (#2051)
bgrozev Sep 25, 2023
48d00e9
chore: Update jicoco (default to not send jetty version). (#2053)
bgrozev Sep 25, 2023
f5f3991
ktlint fixes for 0.50.0. (#2050)
JonathanLennox Sep 26, 2023
c706fa9
ref: Fix some warnings. (#2054)
bgrozev Sep 27, 2023
ea56278
Fix routing of audio and stats when routeLoudestOnly is disabled (#2055)
bgrozev Sep 27, 2023
13803c8
Update Kotlin to 1.9.10, and related Maven packages. (#2056)
JonathanLennox Sep 27, 2023
30dcf51
log: Log colibri2 requests/responses with context from the Conference…
bgrozev Sep 28, 2023
be7701f
Update for ktlint 1.0.0 (ktlint-maven-plugin 3.0.0). (#2059)
JonathanLennox Oct 3, 2023
63849ed
fix: Fix ICE consent checks. (#2058)
bgrozev Oct 3, 2023
b09e7fc
feat: Add an option to use "CPU usage" for stress. (#2060)
bgrozev Oct 5, 2023
fe87250
fix: Fix setting the stress level. (#2062)
bgrozev Oct 9, 2023
c196776
fix: Avoid calling IQ.toXML().toString() (#2064)
bgrozev Oct 26, 2023
b88544e
doc: Fix address in debug docs. (#2063)
bgrozev Oct 26, 2023
7a4dc8b
Support for video described by the AV1 Dependency Descriptor (#1998)
JonathanLennox Nov 2, 2023
5c48e42
fix: Fix saving the connected WebSocket instance the first time. (#2066)
bgrozev Nov 6, 2023
b5bdb0f
chore: Update jicoco (try to fix slow XMPP reconnects). (#2068)
bgrozev Nov 8, 2023
814bffd
Fixed default file path (#2070)
dkirov-dev Nov 13, 2023
73fb0cf
fix: Reject JSON with duplicate keys (#2073)
bgrozev Nov 29, 2023
73f6068
task: graceful shutdown only via REST (#2075)
aaronkvanmeerten Dec 19, 2023
719465d
task: wait on pid before graceful shutdown is complete (#2076)
aaronkvanmeerten Dec 19, 2023
e41cad1
feat: Relax the health checks for STUN (#2077)
bgrozev Dec 21, 2023
07b97eb
Add null check when accesing singlePortHarvesters. (#2078)
bgrozev Jan 12, 2024
b2d4229
Initialize the udp/10000 harvester at startup instead of first confer…
bgrozev Jan 19, 2024
57abe58
ref: Move Harvesters to kotlin. (#2081)
bgrozev Jan 23, 2024
9d121e4
Send pings periodically on idle websocket connections. (#2084)
JonathanLennox Jan 24, 2024
e1ae15b
Bump Bouncycastle to version 1.77. (#2085)
JonathanLennox Jan 24, 2024
573abcd
Fix compatibility with DTLS 1.3. (#2086)
JonathanLennox Jan 24, 2024
f9314a2
Remove backward compat for source names. (#2087)
bgrozev Jan 29, 2024
4434556
Bump jitsi-sctp version, hopefully fixing crashes. (#2088)
JonathanLennox Jan 30, 2024
a015be9
Bump jitsi-sctp version, hopefully fixing crashes, again. (#2089)
JonathanLennox Jan 31, 2024
68ea282
Fix bug that would cause VP9/AV1 simulcast not to be routed properly …
JonathanLennox Feb 20, 2024
3e369e8
Pass the appropriate log context to the adaptive source projection co…
JonathanLennox Feb 20, 2024
fbd563c
feat: Implement a Prometheus histogram of rtp transit time. (#2091)
bgrozev Feb 20, 2024
7bd4888
feat: Add a config option for default initial last n. (#2095)
bgrozev Feb 20, 2024
af07121
Improve debug output of VP9 and AV1 quality filters. (#2093)
JonathanLennox Feb 20, 2024
4ee14d9
Recommend libpcap0.8 for the JVB debian package. (#2094)
JonathanLennox Feb 20, 2024
58eadf6
Include layers' index strings in BandwidthAllocation.toString(). (#2098)
JonathanLennox Feb 20, 2024
ef51846
Simplify source projection accept() and add more unit tests. (#2099)
JonathanLennox Feb 20, 2024
b227786
Add more fields to the VP9 timeseries trace. (#2100)
JonathanLennox Feb 21, 2024
f8f2f81
Make PcapWriter's output directory configurable. (#2103)
JonathanLennox Feb 21, 2024
7db9670
Don't do per-packet debug logging in SsrcCache. (#2104)
JonathanLennox Feb 22, 2024
328fef7
Don't try to rewrite TL0PICIDX on VP8 packets that don't have one. (#…
JonathanLennox Feb 22, 2024
f0e4f85
Remove some more excessively-chatty SsrcCache logs. (#2106)
JonathanLennox Feb 22, 2024
0c54ff7
Bump jitsi-sctp. (#2107)
JonathanLennox Feb 23, 2024
74e5040
Update jitsi-sctp to 1.0-21-gfe0d028. (#2108)
JonathanLennox Feb 29, 2024
03b8c3b
Add a Java option to work around a major performance regression in JD…
JonathanLennox Mar 5, 2024
499c312
Update Java Debian dependencies
saghul Feb 1, 2024
64f9f34
feat: Updates java dependencies to include java17.
damencho Mar 7, 2024
6bc6d46
Update analyze-timeline.pl for timeline change to Duration. (#2109)
JonathanLennox Mar 11, 2024
e80e868
fix: Fix ICE TCP port. (#2114)
bgrozev Mar 29, 2024
fb16f25
Port all metrics to Prometheus (#2113)
bgrozev Apr 2, 2024
2958c4d
Bump srtp version (get correct path for ppc64le library). (#2115)
JonathanLennox Apr 3, 2024
21b42fb
Bump jitsi-sctp version: assert if soref() is called on a freed socke…
JonathanLennox Apr 3, 2024
84c7cba
Revert "Bump jitsi-sctp version: assert if soref() is called on a fre…
JonathanLennox Apr 4, 2024
ac3de3d
Update Jetty (including transitive dependency through jicoco). (#2119)
JonathanLennox Apr 9, 2024
b08f133
fix: Catch RTP parsing exceptions. (#2117)
bgrozev Apr 10, 2024
3767437
Update sctp again; add config param to set sctp debug flags. (#2122)
JonathanLennox Apr 15, 2024
2e0cb5e
Fix new config value name in reference.conf.
JonathanLennox Apr 15, 2024
d7324cb
Fix or suppress some ktlint-1.2.1 warnings. (#2120)
JonathanLennox Apr 16, 2024
0f44540
Add an sctp-pcap-dump feature. (#2124)
JonathanLennox Apr 16, 2024
e155b81
Revert "Update sctp again; add config param to set sctp debug flags. …
JonathanLennox Apr 22, 2024
462b7f6
fix: Concurrent modification of receiverVideoConstraints. (#2125)
bgrozev Apr 23, 2024
748a626
feat: Add metrics for colibri-ws closing and receiving an error. (#2128)
bgrozev Apr 29, 2024
b623d6a
Use JitsiXmppStringprep, update smack (#2127)
bgrozev Apr 29, 2024
acf024b
feat: Export more metrics to prometheus. (#2129)
bgrozev May 2, 2024
0bce904
fix: Remove mappings when an endpoint expires. (#2132)
bgrozev May 20, 2024
5524b85
Maintain a VideoCodecParser per source, not per endpoint. (#2133)
JonathanLennox May 22, 2024
2875cc4
Support using dcsctp4j for SCTP. (#2131)
JonathanLennox May 22, 2024
249e10a
chore(ice4j): Configureable addresses and interfaces. (#2135)
bgrozev May 23, 2024
47ac3f0
feat(VideoParser): In some cases, process VP8 or VP9 packets as AV1. …
JonathanLennox May 23, 2024
5ccdaa2
fix(AV1 DD): Separate AV1 DD template's decodeTargetLayers and decode…
JonathanLennox May 23, 2024
674f841
fix: Update dcsctp, fixing DcSctpOptions initialization. (#2137)
JonathanLennox May 28, 2024
8de0373
chore: Add a dependabot.yml file. (#2138)
bgrozev May 29, 2024
63d7bf8
Add telephone-event payload type (#2071)
dkirov-dev May 29, 2024
5216cdd
chore(deps): Bump jetty.version from 11.0.20 to 11.0.21 (#2140)
dependabot[bot] May 29, 2024
274e392
chore(deps): Bump kotest.version from 5.7.2 to 5.9.0 (#2141)
dependabot[bot] May 29, 2024
aebbda9
chore(deps): Bump slf4j.version from 1.7.32 to 2.0.13 (#2139)
dependabot[bot] May 29, 2024
2e0434d
fix: Run lastNEndpointsChanged asynchronously in Conference#endpointS…
JonathanLennox May 29, 2024
b3113c5
chore(deps): Bump kotlin.version from 1.9.10 to 2.0.0 (#2143)
dependabot[bot] May 29, 2024
6051205
chore(dependabot): Bump open prs limit. (#2144)
bgrozev May 29, 2024
3fe9674
chore(deps): Bump org.jitsi:jitsi-utils from 1.0-131-ge0b9606 to 1.0-…
dependabot[bot] May 29, 2024
a3a500d
chore(deps): Bump com.puppycrawl.tools:checkstyle from 9.1 to 10.17.0…
dependabot[bot] May 29, 2024
1f0a090
chore(deps): Bump com.google.guava:guava from 32.0.0-jre to 33.2.0-jr…
dependabot[bot] May 29, 2024
5d7024e
chore(deps): Bump io.sentry:sentry from 5.3.0 to 7.9.0 (#2149)
dependabot[bot] May 30, 2024
39882be
chore(deps): Bump io.pkts:pkts-core from 3.0.3 to 3.0.10 (#2148)
dependabot[bot] May 30, 2024
af5e468
chore(deps-dev): Bump jakarta.xml.bind:jakarta.xml.bind-api from 4.0.…
dependabot[bot] May 30, 2024
a14d491
chore(deps): Bump jersey.version from 3.0.10 to 3.1.7 (#2145)
dependabot[bot] May 30, 2024
24dfb8e
chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from…
dependabot[bot] May 30, 2024
304ae38
chore(deps): Bump junit.version from 5.10.0 to 5.10.2 (#2160)
dependabot[bot] Jun 4, 2024
bc61ea1
chore(deps): Bump org.codehaus.mojo:build-helper-maven-plugin from 3.…
dependabot[bot] Jun 4, 2024
740576a
chore(deps): Bump org.apache.maven.plugins:maven-enforcer-plugin from…
dependabot[bot] Jun 4, 2024
ad8da4d
chore(deps): Bump org.apache.maven.plugins:maven-jar-plugin from 3.2.…
dependabot[bot] Jun 4, 2024
e51f487
chore(deps): Bump io.mockk:mockk-jvm from 1.13.8 to 1.13.11 (#2154)
dependabot[bot] Jun 4, 2024
df722ac
ref(test): Disable kotest classpath autoscan (#2164)
bgrozev Jun 4, 2024
b76c7b5
feat(config): Count iceTransport.send as part of transit time, confug…
bgrozev Jun 10, 2024
8ed7ab8
chore(deps): Bump bouncycastle.version from 1.77 to 1.78.1 (#2161)
dependabot[bot] Jun 10, 2024
ab7c0a5
chore(deps): Bump com.fasterxml.jackson.module:jackson-module-kotlin …
dependabot[bot] Jun 10, 2024
33c67b6
chore(deps): Bump kotest.version from 5.9.0 to 5.9.1 (#2165)
dependabot[bot] Jun 10, 2024
b1066f3
chore(deps): Bump org.jetbrains:annotations from 23.0.0 to 24.1.0 (#2…
dependabot[bot] Jun 10, 2024
5273f2f
chore(deps): Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.…
dependabot[bot] Jun 10, 2024
0083ed0
chore(deps): Bump org.apache.maven.plugins:maven-shade-plugin from 3.…
dependabot[bot] Jun 10, 2024
059cd3e
feat: Add a timeline event when the packet was sent over ICE. (#2171)
bgrozev Jun 11, 2024
93c41cc
feat: Move some processing to the sender pipeline (#2172)
bgrozev Jun 12, 2024
af2ff24
Fix(dcsctp): Allow unlimited sctp retransmissions with dcsctp. (#2180)
JonathanLennox Jun 17, 2024
793df5a
Fix(dcsctp): Fix memory leak. (#2182)
JonathanLennox Jun 21, 2024
b67f0c0
feat(log): Always log when a MucClient is added/removed. (#2183)
bgrozev Jun 25, 2024
448da46
Fix jetty versions (#2186)
bgrozev Jul 9, 2024
d98c8b5
Use dcsctp by default for sctp. (#2181)
JonathanLennox Jul 9, 2024
877b6a2
Feat: Redact remote endpoint IP addresses in log messages. (#2188)
JonathanLennox Jul 10, 2024
e2b1c47
Fix: Catch exceptions processing packets. (#2190)
JonathanLennox Jul 18, 2024
97e03bb
Fix(AV1): Prevent some exceptions in AV1 processing. (#2191)
JonathanLennox Jul 18, 2024
1eb3054
Fix(SSRC rewriting): Catch exceptions rewriting SSRCs in the SSRC cac…
JonathanLennox Jul 18, 2024
c618346
Remove use-component-socket, cleanup (#2193)
bgrozev Jul 18, 2024
89dde6e
feat: Remove support for ICE/TCP. (#2194)
bgrozev Jul 18, 2024
6f3f568
Fix: Push packets received from ICE onto a queue. (#2196)
JonathanLennox Jul 18, 2024
97a1f15
Fix: Support VP9 flexible mode. (#2199)
JonathanLennox Jul 29, 2024
6e441e6
Modify Debian postinst to use usrsctp on ppc64el. (#2214)
JonathanLennox Aug 26, 2024
f625842
Add hackerone link to SECURITY.md. (#2218)
bgrozev Sep 5, 2024
d3f5db4
Convert TCC packets to use Instant and Duration (#2219)
JonathanLennox Sep 17, 2024
d23d244
chore(deps): Bump io.sentry:sentry from 7.9.0 to 7.14.0 in /jvb (#2209)
dependabot[bot] Sep 19, 2024
b7dba82
chore(deps): Bump io.sentry:sentry from 7.9.0 to 7.14.0 (#2205)
dependabot[bot] Sep 19, 2024
93b2699
Don't feed SCTP packets to the SCTP stack after it's been closed. (#2…
JonathanLennox Sep 25, 2024
0b2e8d6
feat: Use the ice4j push API. (#2195)
bgrozev Oct 2, 2024
28674f7
Update ice4j. (#2232)
JonathanLennox Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
[*.{kt,kts}]
# Comma-separated list of rules to disable (Since 0.34.0)
# Note that rules in any ruleset other than the standard ruleset will need to be prefixed
# by the ruleset identifier.
max_line_length=120
ktlint_code_style = intellij_idea

# I find trailing commas annoying
ktlint_standard_trailing-comma-on-call-site = disabled
ktlint_standard_trailing-comma-on-declaration-site = disabled

# This forbids underscores in package names, which we use
ktlint_standard_package-name = disabled
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "maven"
directories:
- "/"
- "/rtp"
- "/jitsi-media-transform"
- "/jvb"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
4 changes: 0 additions & 4 deletions CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ This list will be updated as properties are migrated:
| org.jitsi.videobridge.rest.COLIBRI_WS_DOMAIN | videobridge.websockets.domain | |
| org.jitsi.videobridge.rest.COLIBRI_WS_TLS | videobridge.websockets.tls | |
| org.jitsi.videobridge.rest.COLIBRI_WS_SERVER_ID | videobridge.websockets.server-id | |
| org.jitsi.videobridge.DISABLE_TCP_HARVESTER | videobridge.ice.tcp.enabled | The semantics of this property have been inverted (disable -> enable) |
| org.jitsi.videobridge.TCP_HARVESTER_SSLTCP | videobridge.ice.tcp.ssltcp | |
| org.jitsi.videobridge.TCP_HARVESTER_PORT | videobridge.ice.tcp.port | |
| org.jitsi.videobridge.TCP_HARVESTER_MAPPED_PORT | videobridge.ice.tcp.mapped-port | |
| org.jitsi.videobridge.SINGLE_PORT_HARVESTER_PORT | videobridge.ice.udp.port | |
| org.jitsi.videobridge.ICE_UFRAG_PREFIX | videobridge.ice.ufrag-prefix | |
| org.jitsi.videobridge.KEEP_ALIVE_STRATEGY | videobridge.ice.keep-alive-strategy | |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ JVB_CONFIG_DIR_LOCATION="~/"
JVB_CONFIG_DIR_NAME=".jvb"
JVB_CONFIG_FILE="$JVB_CONFIG_DIR_LOCATION/$JVB_JVB_CONFIG_DIR_NAME/jvb.conf"

mvn compile exec:exec -Dexec.executable=java -Dexec.args="-cp %classpath org.jitsi.videobridge.MainKt -Djava.library.path=$JVB_HOME/lib/native/linux-64 -Djava.util.logging.config.file=$JVB_HOME/lib/logging.properties -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$JVB_CONFIG_DIR_LOCATION -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=$JVB_CONFIG_DIR_NAME -Dconfig.file=$JVB_CONFIG_.FILE"
mvn compile exec:exec -Dexec.executable=java -Dexec.args="-cp %classpath org.jitsi.videobridge.MainKt -Djava.library.path=$JVB_HOME/lib/native/linux-64 -Djava.util.logging.config.file=$JVB_HOME/lib/logging.properties -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$JVB_CONFIG_DIR_LOCATION -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=$JVB_CONFIG_DIR_NAME -Dconfig.file=$JVB_CONFIG_FILE"
```

# Configuration
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Security

## Reporting security issuess
## Reporting security issues

We take security very seriously and develop all Jitsi projects to be secure and safe.

If you find (or simply suspect) a security issue in any of the Jitsi projects, please send us an email to security@jitsi.org.
If you find (or simply suspect) a security issue in any of the Jitsi projects, please report it to us via [HackerOne](https://hackerone.com/8x8-bounty) or send us an email to security@jitsi.org.

**We encourage responsible disclosure for the sake of our users, so please reach out before posting in a public space.**
5 changes: 3 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ Section: net
Priority: extra
Maintainer: Jitsi Team <dev@jitsi.org>
Uploaders: Emil Ivov <emcho@jitsi.org>, Damian Minkov <damencho@jitsi.org>
Build-Depends: debhelper (>= 9), dh-systemd, java8-runtime-headless | java8-runtime | java11-runtime-headless | java11-runtime, maven
Build-Depends: debhelper (>= 9), dh-systemd, openjdk-11-jdk | openjdk-17-jdk, maven
Standards-Version: 3.9.3
Homepage: https://jitsi.org/videobridge

Package: jitsi-videobridge2
Replaces: jitsi-videobridge
Conflicts: jitsi-videobridge (<= 1400-1)
Architecture: all
Pre-Depends: openjdk-11-jre-headless | openjdk-11-jre | java11-runtime-headless | java11-runtime, libssl3 | libssl1.1
Pre-Depends: openjdk-11-jre-headless | openjdk-11-jre | openjdk-17-jre-headless | openjdk-17-jre, libssl3 | libssl1.1
Depends: ${misc:Depends}, procps, uuid-runtime, ruby-hocon
Recommends: libpcap0.8
Description: WebRTC compatible Selective Forwarding Unit (SFU)
Jitsi Videobridge is a WebRTC compatible Selective Forwarding Unit
(SFU) for multiuser video communication. It is an essential part
Expand Down
6 changes: 6 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ case "$1" in
sed -i 's/.*--apis.*//' $CONFIG
fi

# dcsctp4j isn't built for ppc64el, so use usrsctp there if no explicit option has been set.
DEBARCH=$(dpkg --print-architecture)
if [ "$DEBARCH" = "ppc64el" ] && ! hocon -f $HOCON_CONFIG get "videobridge.sctp.use-usrsctp" > /dev/null 2>&1 ;then
hocon -f $HOCON_CONFIG set "videobridge.sctp.use-usrsctp" "true"
fi

# we don't want to start the daemon as root
if ! getent group jitsi > /dev/null ; then
groupadd jitsi
Expand Down
13 changes: 0 additions & 13 deletions doc/constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,3 @@ higher than the specified need not be transmitted for a specific video source:
"maxHeight": 180
}
```

The legacy format prior to the multi-stream support was endpoint scoped. This message is still sent to old clients, but
will be removed in the future.

```
{
"colibriClass": "SenderVideoConstraints",
"videoConstraints": {
"idealHeight": 180
}
}
```

4 changes: 2 additions & 2 deletions doc/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ allow it by setting `jmt.debug.pcap.enabled=true` in `/etc/jitsi/videobridge/jvb

Enable:
```
POST /debug/stats/endpoint/CONFERENCE_ID/ENDPOINT_ID/pcap-dump/true
POST /debug/features/endpoint/CONFERENCE_ID/ENDPOINT_ID/pcap-dump/true
```

Disable:
```
POST /debug/stats/endpoint/CONFERENCE_ID/ENDPOINT_ID/pcap-dump/false
POST /debug/features/endpoint/CONFERENCE_ID/ENDPOINT_ID/pcap-dump/false
```
4 changes: 2 additions & 2 deletions doc/relay.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

### Relays
Relays (aka secure octo) use ICE and DTLS/SRTP between each pair of bridges, so a secure
network is not required. It uses and requires colibri websockets for the
bridge-bridge connections (endpoints can still use SCTP).
network is not required. It uses and requires either SCTP or colibri websockets for the
bridge-bridge connections.

## Jitsi Videobridge configuration

Expand Down
1 change: 0 additions & 1 deletion doc/statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ connection.
* `total_ice_failed` - total number of endpoints which failed to establish an ICE connection.
* `total_ice_succeeded` - total number of endpoints which successfully established an ICE connection.
* `total_ice_succeeded_relayed` - total number of endpoints which connected through a TURN relay (currently broken).
* `total_ice_succeeded_tcp` - total number of endpoints which connected through via ICE/TCP (currently broken).
* `total_packets_dropped_octo` - total number of packets dropped on the `octo` channel.
* `total_packets_received` - total number of RTP packets received.
* `total_packets_received_octo` - total number packets received on the `octo` channel.
Expand Down
75 changes: 0 additions & 75 deletions doc/tcp.md

This file was deleted.

36 changes: 24 additions & 12 deletions jitsi-media-transform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jitsi</groupId>
<artifactId>jvb-parent</artifactId>
<version>2.1-SNAPSHOT</version>
<version>2.3-SNAPSHOT</version>
</parent>

<groupId>org.jitsi</groupId>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jitsi-srtp</artifactId>
<version>1.1-12-ga64adcc</version>
<version>1.1-18-g98e4c5d</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down Expand Up @@ -55,17 +55,17 @@
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bctls-jdk15on</artifactId>
<artifactId>bctls-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<artifactId>bcprov-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -94,7 +94,7 @@
<dependency>
<groupId>io.pkts</groupId>
<artifactId>pkts-core</artifactId>
<version>3.0.3</version>
<version>3.0.10</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -115,10 +115,19 @@
<version>${kotest.version}</version>
<scope>test</scope>
</dependency>
<!-- Specify this dependency here because kotest needs it, and otherwise an older
version will be pulled in -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk</artifactId>
<version>1.12.4</version>
<artifactId>mockk-jvm</artifactId>
<version>${mockk.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
Expand Down Expand Up @@ -165,7 +174,7 @@
<!-- To try and get both java and kotlin sources in the sources jar -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.6.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
Expand Down Expand Up @@ -229,8 +238,11 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<version>3.2.5</version>
<configuration>
<systemPropertyVariables>
<kotest.framework.classpath.scanning.autoscan.disable>true</kotest.framework.classpath.scanning.autoscan.disable>
</systemPropertyVariables>
<excludes>
<!-- init() currently throws an exception -->
<exclude>DtlsStackTest.*</exclude>
Expand All @@ -240,7 +252,7 @@
<plugin>
<groupId>com.github.gantsign.maven</groupId>
<artifactId>ktlint-maven-plugin</artifactId>
<version>1.13.1</version>
<version>${ktlint-maven-plugin.version}</version>
<configuration>
<sourceRoots>
<sourceRoot>${project.basedir}/src/main/kotlin</sourceRoot>
Expand Down Expand Up @@ -276,7 +288,7 @@
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.7.0.0</version>
<version>4.8.5.0</version>
<configuration>
<excludeFilterFile>${project.basedir}/spotbugs-exclude.xml</excludeFilterFile>
<includeTests>true</includeTests>
Expand Down
2 changes: 2 additions & 0 deletions jitsi-media-transform/spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
<Bug pattern="NP_NULL_ON_SOME_PATH"/>
<!-- False positives with lazy vals -->
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
<!-- False positives with lazy vals -->
<Bug pattern="BC_IMPOSSIBLE_INSTANCEOF"/>
<!-- False positives with Kotlin inlines -->
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ class AimdRateControl

private boolean bitrateIsInitialized;

/**
* the number of time we've expired the initial incoming estimate.
*/
private int incomingBitrateExpirations = 0;

private long currentBitrateBps;

private final RateControlInput currentInput
Expand Down Expand Up @@ -351,14 +346,6 @@ public boolean isTimeToReduceFurther(long timeNow, long incomingBitrateBps)
return false;
}

/**
* @return the number of time we've expired the initial incoming estimate.
*/
public int getIncomingEstimateExpirations()
{
return incomingBitrateExpirations;
}

/**
* Returns <tt>true</tt> if there is a valid estimate of the incoming
* bitrate, <tt>false</tt> otherwise.
Expand Down Expand Up @@ -465,8 +452,6 @@ public void update(RateControlInput input, long nowMs)
{
timeFirstIncomingEstimate = -1L;
}

incomingBitrateExpirations++;
}
else if (timeSinceFirstIncomingEstimate > kInitializationTimeMs
&& input.incomingBitRate > 0L)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @author Lyubomir Marinov
*/
enum BandwidthUsage
public enum BandwidthUsage
{
kBwNormal(0), kBwUnderusing(-1), kBwOverusing(1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,9 @@ private void updateThreshold(double modifiedOffset, long nowMs)

lastUpdateMs = nowMs;
}

public double getThreshold()
{
return threshold;
}
}
Loading