public class Participant extends Object
| Constructor and Description |
|---|
Participant(String id,
String name,
Room room,
org.kurento.client.MediaPipeline pipeline) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIceCandidate(String endpointName,
org.kurento.client.IceCandidate iceCandidate) |
SubscriberEndpoint |
addSubscriber(String newUserName) |
void |
cancelReceivingMedia(String senderName) |
void |
close() |
void |
createPublishingEndpoint() |
boolean |
equals(Object obj) |
Set<String> |
getConnectedSubscribedEndpoints() |
String |
getId() |
String |
getName() |
org.kurento.client.MediaPipeline |
getPipeline() |
PublisherEndpoint |
getPublisher() |
Room |
getRoom() |
int |
hashCode() |
boolean |
isClosed() |
boolean |
isStreaming() |
boolean |
isSubscribed() |
String |
publishToRoom(String sdpOffer,
boolean doLoopback) |
String |
receiveMediaFrom(Participant sender,
String sdpOffer) |
void |
sendIceCandidate(String endpointName,
org.kurento.client.IceCandidate candidate) |
void |
sendMediaError(org.kurento.client.ErrorEvent event) |
String |
toString() |
void |
unpublishMedia() |
public void createPublishingEndpoint()
public String getId()
public String getName()
public PublisherEndpoint getPublisher()
public Room getRoom()
public org.kurento.client.MediaPipeline getPipeline()
public boolean isClosed()
public boolean isStreaming()
public boolean isSubscribed()
public void unpublishMedia()
public String receiveMediaFrom(Participant sender, String sdpOffer)
public void cancelReceivingMedia(String senderName)
public void close()
public SubscriberEndpoint addSubscriber(String newUserName)
public void addIceCandidate(String endpointName, org.kurento.client.IceCandidate iceCandidate)
public void sendIceCandidate(String endpointName, org.kurento.client.IceCandidate candidate)
public void sendMediaError(org.kurento.client.ErrorEvent event)
Copyright © 2015 Kurento. All rights reserved.