diff --git a/owasp-suppressions.xml b/owasp-suppressions.xml index f245a777a..b81adb947 100644 --- a/owasp-suppressions.xml +++ b/owasp-suppressions.xml @@ -99,6 +99,14 @@ ^pkg:maven/org\.bytedeco/(ffmpeg|cuda).*@.*$ CVE-2023-34112 + + + ^pkg:maven/org\.bytedeco/(ffmpeg|cuda).*@.*$ + CVE-2024-32230 + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 08f4bc0c9..03d6fff0d 100644 --- a/pom.xml +++ b/pom.xml @@ -225,7 +225,7 @@ dependency-check-maven ${owasp.version} - 8 + 7 owasp-suppressions.xml diff --git a/src/main/java/io/antmedia/AppSettings.java b/src/main/java/io/antmedia/AppSettings.java index e1430e880..8c80382d8 100644 --- a/src/main/java/io/antmedia/AppSettings.java +++ b/src/main/java/io/antmedia/AppSettings.java @@ -2061,8 +2061,8 @@ public boolean isWriteStatsToDatastore() { * * Ant Media Server sends audio level 5 times in a second */ - @Value("${sendAudioLevelToViewers:true}") - private boolean sendAudioLevelToViewers = true; + @Value("${sendAudioLevelToViewers:false}") + private boolean sendAudioLevelToViewers = false; /** * Enable/disable video frame scaling in GPU when there is an adaptive bitrate diff --git a/src/main/java/io/antmedia/datastore/db/types/Broadcast.java b/src/main/java/io/antmedia/datastore/db/types/Broadcast.java index fc1547740..763d22b51 100644 --- a/src/main/java/io/antmedia/datastore/db/types/Broadcast.java +++ b/src/main/java/io/antmedia/datastore/db/types/Broadcast.java @@ -373,6 +373,12 @@ public Broadcast() { @Schema(description ="If this broadcast is a track of a WebRTC stream. This variable is Id of that stream.") private String mainTrackStreamId; + /* + * Refactor: remove this field and store everything as streams in the database. + * On the other hand, we can keep the number of subtracks here + * + * Lastly, there is also an dependency in the webpanel, it just plays the multitrack by looking at this field. + */ @Schema(description ="If this broadcast is main track. This variable hold sub track ids.") private List subTrackStreamIds = new ArrayList<>(); diff --git a/src/main/server/webapps/root/images/icons/mute-icon.svg b/src/main/server/webapps/root/images/icons/mute-icon.svg new file mode 100644 index 000000000..8f3b5f067 --- /dev/null +++ b/src/main/server/webapps/root/images/icons/mute-icon.svg @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/main/server/webapps/root/images/icons/readme b/src/main/server/webapps/root/images/icons/readme new file mode 100644 index 000000000..99640c4ca --- /dev/null +++ b/src/main/server/webapps/root/images/icons/readme @@ -0,0 +1 @@ +The icons(mute-icon, speaker-icon) are being used in multitrack-play.html \ No newline at end of file diff --git a/src/main/server/webapps/root/images/icons/speaker-icon.svg b/src/main/server/webapps/root/images/icons/speaker-icon.svg new file mode 100644 index 000000000..300db8523 --- /dev/null +++ b/src/main/server/webapps/root/images/icons/speaker-icon.svg @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/src/test/java/io/antmedia/test/AppSettingsUnitTest.java b/src/test/java/io/antmedia/test/AppSettingsUnitTest.java index 70696ec8d..e44ce3609 100644 --- a/src/test/java/io/antmedia/test/AppSettingsUnitTest.java +++ b/src/test/java/io/antmedia/test/AppSettingsUnitTest.java @@ -537,7 +537,7 @@ public void testUnsetAppSettings(AppSettings appSettings) { assertEquals(150, appSettings.getAbrUpScaleRTTMs(), 0.0001); assertNotNull(appSettings.getClusterCommunicationKey()); assertEquals(false, appSettings.isId3TagEnabled()); - assertEquals(true, appSettings.isSendAudioLevelToViewers()); + assertEquals(false, appSettings.isSendAudioLevelToViewers()); assertNull(appSettings.getTimeTokenSecretForPublish()); assertNull(appSettings.getTimeTokenSecretForPlay());