Skip to content

Commit

Permalink
add subtrack added removed notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
burak-58 committed Feb 20, 2025
1 parent b4028cd commit 767309a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/io/antmedia/websocket/WebSocketConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

0 comments on commit 767309a

Please sign in to comment.