Interface ISubtrackPoller.SubtrackListener

Enclosing interface:
ISubtrackPoller

public static interface ISubtrackPoller.SubtrackListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewSubTrack(String subTrackStreamId, String role)
    This method is used to notify the listeners that a new subtrack has been added
    void
    onSubTrackRemoved(String subTrackStreamId, String role)
    This method is used to notify the listeners that a subtrack has been removed
    void
    onSubTracks(List<Broadcast> subTrackStreamIds)
    This method is used to notify the listeners for the all subtracks
  • Method Details

    • onSubTracks

      void onSubTracks(List<Broadcast> subTrackStreamIds)
      This method is used to notify the listeners for the all subtracks
      Parameters:
      subTrackStreamIds - the streamIds of the subtracks
    • onNewSubTrack

      void onNewSubTrack(String subTrackStreamId, String role)
      This method is used to notify the listeners that a new subtrack has been added
      Parameters:
      subTrackStreamId - the streamId of the subtrack
      role - the role of the subtrack
    • onSubTrackRemoved

      void onSubTrackRemoved(String subTrackStreamId, String role)
      This method is used to notify the listeners that a subtrack has been removed
      Parameters:
      subTrackStreamId - the streamId of the subtrack
      role - the role of the subtrack