Skip to content

Commit

Permalink
Fix sonar quality gate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Dec 31, 2024
1 parent f5083a5 commit bb14e84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/main/java/io/antmedia/AppSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,7 @@ public class AppSettings implements Serializable{
* @deprecated. Please use {@link #enableTimeTokenForPlay} or {@link #enableTimeTokenForPublish}
*/
@Value( "${timeTokenSubscriberOnly:${"+SETTINGS_TIME_TOKEN_SUBSCRIBER_ONLY+":false}}" )
@Deprecated
private boolean timeTokenSubscriberOnly;
/**
* The setting for accepting only time based token(TOTP) subscribers as connections to the streams
Expand Down Expand Up @@ -1164,6 +1165,7 @@ public class AppSettings implements Serializable{
* @deprecated use {@link VoDRestService#importVoDs(String)}
*/
@Value( "${vodFolder:${"+SETTINGS_VOD_FOLDER+":}}" )
@Deprecated
private String vodFolder = "";

/**
Expand Down Expand Up @@ -1453,7 +1455,7 @@ public class AppSettings implements Serializable{
* good
* realtime
*
* @Deprecated use {@link #encoderParameters}
* @deprecated use {@link #encoderParameters}
*/
@Value( "${vp8EncoderDeadline:${" + SETTINGS_ENCODING_VP8_DEADLINE +":realtime}}")
@Deprecated
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/antmedia/plugin/api/IStreamListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public interface IStreamListener {
* AMS inform the plugins when a stream is started with this method.
* @param streamId is the id of the stream
*
* @Deprecated use {@link #streamStarted(Broadcast)} because Broadcast object may be deleted when this method is called
* @deprecated use {@link #streamStarted(Broadcast)} because Broadcast object may be deleted when this method is called
*/
@Deprecated (since="3.0", forRemoval = true)
public default void streamStarted(String streamId) {
Expand All @@ -30,7 +30,7 @@ public default void streamStarted(Broadcast broadcast) {
* AMS inform the plugins when a stream is finished with this method.
* @param streamId is the id of the stream
*
* @Deprecated use {@link #streamFinished(Broadcast)} because Broadcast object may be deleted when this method is called
* @deprecated use {@link #streamFinished(Broadcast)} because Broadcast object may be deleted when this method is called
*/
@Deprecated (since="3.0", forRemoval = true)
public default void streamFinished(String streamId) {
Expand Down

0 comments on commit bb14e84

Please sign in to comment.