Package io.antmedia.track
Interface ISubtrackPoller.SubtrackListener
- Enclosing interface:
- ISubtrackPoller
public static interface ISubtrackPoller.SubtrackListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewSubTrack
(String subTrackStreamId, String role) This method is used to notify the listeners that a new subtrack has been addedvoid
onSubTrackRemoved
(String subTrackStreamId, String role) This method is used to notify the listeners that a subtrack has been removedvoid
onSubTracks
(List<Broadcast> subTrackStreamIds) This method is used to notify the listeners for the all subtracks
-
Method Details
-
onSubTracks
This method is used to notify the listeners for the all subtracks- Parameters:
subTrackStreamIds
- the streamIds of the subtracks
-
onNewSubTrack
This method is used to notify the listeners that a new subtrack has been added- Parameters:
subTrackStreamId
- the streamId of the subtrackrole
- the role of the subtrack
-
onSubTrackRemoved
This method is used to notify the listeners that a subtrack has been removed- Parameters:
subTrackStreamId
- the streamId of the subtrackrole
- the role of the subtrack
-