Skip to content

Commit

Permalink
Set owasp score to 7, change default value of sendAudioLevelToViewers
Browse files Browse the repository at this point in the history
Decrease vulnerability score to 7 and Change default value to false for
sendAudioLevelToViewers
  • Loading branch information
mekya committed Jul 3, 2024
1 parent f66392a commit efa90b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
<artifactId>dependency-check-maven</artifactId>
<version>${owasp.version}</version>
<configuration>
<failBuildOnCVSS>8</failBuildOnCVSS>
<failBuildOnCVSS>7</failBuildOnCVSS>
<suppressionFile>owasp-suppressions.xml</suppressionFile>
</configuration>
<executions>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/antmedia/AppSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/antmedia/test/AppSettingsUnitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit efa90b0

Please sign in to comment.