diff --git a/src/main/java/io/antmedia/websocket/WebSocketConstants.java b/src/main/java/io/antmedia/websocket/WebSocketConstants.java index f3e866a55..2acf50e1c 100644 --- a/src/main/java/io/antmedia/websocket/WebSocketConstants.java +++ b/src/main/java/io/antmedia/websocket/WebSocketConstants.java @@ -649,4 +649,14 @@ private WebSocketConstants() { * For example in conference case a participant use same websocket to publish its stream and to play the others */ public static final String USER_PUBLISH_ID = "userPublishId"; + + /** + * Notification to notify a new subtrack addition to a main track + */ + public static final String SUBTRACK_ADDED = "subtrackAdded"; + + /** + * Notification to notify a new subtrack removal to a main track + */ + public static final String SUBTRACK_REMOVED = "subtrackRemoved"; }