io.antmedia.track.ISubtrackPoller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ant-media-server Show documentation
Show all versions of ant-media-server Show documentation
Ant Media Server supports RTMP, RTSP, MP4, HLS, WebRTC, Adaptive Streaming, etc.
package io.antmedia.track;
import java.util.List;
import io.antmedia.datastore.db.types.Broadcast;
public interface ISubtrackPoller {
public interface SubtrackListener {
void onSubTracks(List subTrackStreamIds);
}
public void register(String streamId, SubtrackListener listener);
public void notifySubtrackListeners(String streamId, List subtracks);
public void unRegister(String streamId, SubtrackListener subtrackPollerListener);
}