| Package | Description |
|---|---|
| org.kurento.room | |
| org.kurento.room.api | |
| org.kurento.room.internal |
| Modifier and Type | Method and Description |
|---|---|
void |
RoomManager.joinRoom(String userName,
String roomName,
ParticipantRequest request)
Represents a client’s request to join a room.
|
void |
RoomManager.leaveRoom(ParticipantRequest request)
Represents a client’s notification that she’s leaving the room.
|
void |
RoomManager.onIceCandidate(String endpointName,
String candidate,
int sdpMLineIndex,
String sdpMid,
ParticipantRequest request)
Request that carries info about an ICE candidate gathered on the client
side.
|
void |
RoomManager.publishMedia(ParticipantRequest request,
String sdpOffer,
boolean doLoopback,
org.kurento.client.MediaElement... mediaElements)
Represents a client’s request to start streaming her local media to
anyone inside the room.
|
void |
RoomManager.sendMessage(String message,
String userName,
String roomName,
ParticipantRequest request)
Used by clients to send written messages to all other participants in the
room.
Side effects: The room event handler should acknowledge the client’s request by sending an empty message. |
void |
RoomManager.subscribe(String remoteName,
String sdpOffer,
ParticipantRequest request)
Represents a client’s request to receive media from room participants
that published their media.
|
void |
RoomManager.unpublishMedia(ParticipantRequest request)
Represents a client’s request to stop publishing her media stream.
|
void |
RoomManager.unsubscribe(String remoteName,
ParticipantRequest request)
Represents a client’s request to stop receiving media from the remote
peer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserNotificationService.closeSession(ParticipantRequest participantRequest)
Notifies that any information associated with the provided request should
be cleaned up (the participant has left).
|
void |
RoomEventHandler.onParticipantJoined(ParticipantRequest request,
String roomName,
String newUserName,
Set<UserParticipant> existingParticipants,
RoomException error)
Called as a result of
RoomManager.joinRoom(String, String, ParticipantRequest). |
void |
RoomEventHandler.onParticipantLeft(ParticipantRequest request,
String roomName,
String userName,
Set<String> remainingParticipantIds,
RoomException error)
Called as a result of
RoomManager#leaveRoom(String, String, ParticipantRequest) or
RoomManager.evictParticipant(String) (admin action). |
void |
RoomEventHandler.onPublishMedia(ParticipantRequest request,
String publisherName,
String sdpAnswer,
Set<String> participantIds,
RoomException error)
Called as a result of
RoomManager#publishMedia(String, ParticipantRequest, MediaElement...)
. |
void |
RoomEventHandler.onRecvIceCandidate(ParticipantRequest request,
RoomException error)
Called as a result of
RoomManager.onIceCandidate(String, String, int, String, ParticipantRequest)
. |
void |
RoomEventHandler.onRoomCreated(ParticipantRequest request,
String roomName)
Called as a result of
RoomManager.joinRoom(String, String, ParticipantRequest) when the
specified room doesn't exist and it's successfully created. |
void |
RoomEventHandler.onSendMessage(ParticipantRequest request,
String message,
String userName,
String roomName,
Set<String> participantIds,
RoomException error)
Called as a result of
RoomManager.sendMessage(String, String, String, ParticipantRequest)
. |
void |
RoomEventHandler.onSubscribe(ParticipantRequest request,
String sdpAnswer,
RoomException error)
Called as a result of
RoomManager.subscribe(String, String, ParticipantRequest). |
void |
RoomEventHandler.onUnpublishMedia(ParticipantRequest request,
String publisherName,
Set<String> participantIds,
RoomException error)
Called as a result of
RoomManager.unpublishMedia(ParticipantRequest). |
void |
RoomEventHandler.onUnsubscribe(ParticipantRequest request,
RoomException error)
Called as a result of
RoomManager.unsubscribe(String, ParticipantRequest). |
void |
UserNotificationService.sendErrorResponse(ParticipantRequest participantRequest,
Object data,
RoomException error)
Responds back to the remote peer with the details of why the invoked
method failed to be processed correctly.
|
void |
UserNotificationService.sendResponse(ParticipantRequest participantRequest,
Object result)
Responds back to the remote peer with the result of the invoked method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRoomEventHandler.onParticipantJoined(ParticipantRequest request,
String roomName,
String newUserName,
Set<UserParticipant> existingParticipants,
RoomException error) |
void |
DefaultRoomEventHandler.onParticipantLeft(ParticipantRequest request,
String roomName,
String userName,
Set<String> remainingParticipantIds,
RoomException error) |
void |
DefaultRoomEventHandler.onPublishMedia(ParticipantRequest request,
String publisherName,
String sdpAnswer,
Set<String> participantIds,
RoomException error) |
void |
DefaultRoomEventHandler.onRecvIceCandidate(ParticipantRequest request,
RoomException error) |
void |
DefaultRoomEventHandler.onRoomCreated(ParticipantRequest request,
String roomName) |
void |
DefaultRoomEventHandler.onSendMessage(ParticipantRequest request,
String message,
String userName,
String roomName,
Set<String> participantIds,
RoomException error) |
void |
DefaultRoomEventHandler.onSubscribe(ParticipantRequest request,
String sdpAnswer,
RoomException error) |
void |
DefaultRoomEventHandler.onUnpublishMedia(ParticipantRequest request,
String publisherName,
Set<String> participantIds,
RoomException error) |
void |
DefaultRoomEventHandler.onUnsubscribe(ParticipantRequest request,
RoomException error) |
Copyright © 2015 Kurento. All rights reserved.