Package io.antmedia.plugin.api
Interface IStreamListener
public interface IStreamListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidjoinedTheRoom(String roomId, String streamId) AMS inform the plugins when a new participant joins to the conference roomvoidleftTheRoom(String roomId, String streamId) AMS inform the plugins when a participant leaves from the conference roomdefault voidstreamFinished(Broadcast broadcast) AMS inform the plugins when a stream is finished with this method.default voidstreamStarted(Broadcast broadcast) AMS inform the plugins when a stream is started with this method.
-
Method Details
-
streamStarted
AMS inform the plugins when a stream is started with this method.- Parameters:
broadcast- is the the broadcast object of the stream
-
streamFinished
AMS inform the plugins when a stream is finished with this method.- Parameters:
broadcast- is the broadcast object of the stream The default implementation does nothing in order to avoid breaking the existing plugins.
-
joinedTheRoom
AMS inform the plugins when a new participant joins to the conference room- Parameters:
roomId- is the id of the conference roomstreamId- is the id of new stream
-
leftTheRoom
AMS inform the plugins when a participant leaves from the conference room- Parameters:
rroomId- is the id of the conference roomstreamId- is the id of new stream
-