public interface RoomHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNextFilterState(java.lang.String filterId,
java.lang.String state)
Called to get the next state of a filter when requested by a call to updateFilter
|
void |
onIceCandidate(java.lang.String roomName,
java.lang.String participantId,
java.lang.String endpoint,
IceCandidate candidate)
Called when a new
IceCandidate is gathered for the local WebRTC endpoint. |
void |
onMediaElementError(java.lang.String roomName,
java.lang.String participantId,
java.lang.String errorDescription)
Called as a result of an error intercepted on a media element of a participant.
|
void |
onPipelineError(java.lang.String roomName,
java.util.Set<java.lang.String> participantIds,
java.lang.String errorDescription)
Called as a result of an error intercepted on the media pipeline.
|
void |
updateFilter(java.lang.String roomName,
org.kurento.room.internal.Participant participant,
java.lang.String filterId,
java.lang.String state)
Called when a new participant joins the conference and there are filters configured
|
void onIceCandidate(java.lang.String roomName, java.lang.String participantId, java.lang.String endpoint, IceCandidate candidate)
IceCandidate
is gathered for the local WebRTC endpoint. The user
should receive a notification with all the provided information so that the candidate is added
to the remote WebRTC peer.roomName
- name of the roomparticipantId
- identifier of the participantendpoint
- String the identifier of the local WebRTC endpoint (created in the server)candidate
- the gathered IceCandidate
void onMediaElementError(java.lang.String roomName, java.lang.String participantId, java.lang.String errorDescription)
roomName
- name of the roomparticipantId
- identifier of the participanterrorDescription
- description of the errorvoid onPipelineError(java.lang.String roomName, java.util.Set<java.lang.String> participantIds, java.lang.String errorDescription)
roomName
- the room where the error occurredparticipantIds
- the participants identifierserrorDescription
- description of the errorvoid updateFilter(java.lang.String roomName, org.kurento.room.internal.Participant participant, java.lang.String filterId, java.lang.String state)
roomName
- participant
- filterId
- state
- java.lang.String getNextFilterState(java.lang.String filterId, java.lang.String state)
filterId
- The filter IDstate
- The current state of the filter