public class KurentoClient extends Object
MediaPipeline in the media server.| Modifier and Type | Field and Description |
|---|---|
protected RomManager |
manager |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
beginTransaction() |
static KurentoClient |
create() |
static KurentoClient |
create(Properties properties) |
static KurentoClient |
create(String websocketUrl) |
static KurentoClient |
create(String websocketUrl,
KurentoConnectionListener listener) |
static KurentoClient |
create(String websocketUrl,
KurentoConnectionListener listener,
Properties properties) |
static KurentoClient |
create(String websocketUrl,
Properties properties) |
static KurentoClient |
createFromJsonRpcClient(JsonRpcClient jsonRpcClient) |
MediaPipeline |
createMediaPipeline()
Creates a new
MediaPipeline in the media server |
void |
createMediaPipeline(Continuation<MediaPipeline> cont)
Creates a new
MediaPipeline in the media server |
MediaPipeline |
createMediaPipeline(Transaction tx) |
void |
destroy() |
<T extends KurentoObject> |
getById(String id,
Class<T> clazz) |
static String |
getKmsUrl(String id,
Properties properties) |
ServerManager |
getServerManager() |
boolean |
isClosed() |
protected RomManager manager
public static String getKmsUrl(String id, Properties properties)
public static KurentoClient create()
public static KurentoClient create(Properties properties)
public static KurentoClient create(String websocketUrl)
public static KurentoClient create(String websocketUrl, Properties properties)
public static KurentoClient create(String websocketUrl, KurentoConnectionListener listener)
public static KurentoClient create(String websocketUrl, KurentoConnectionListener listener, Properties properties)
public MediaPipeline createMediaPipeline()
MediaPipeline in the media serverpublic void createMediaPipeline(Continuation<MediaPipeline> cont) throws org.kurento.commons.exception.KurentoException
MediaPipeline in the media servercont - An asynchronous callback handler. If the element was
successfully created, the onSuccess method from the
handler will receive a MediaPipeline stub from the
media server.org.kurento.commons.exception.KurentoExceptionpublic MediaPipeline createMediaPipeline(Transaction tx)
@PreDestroy public void destroy()
public boolean isClosed()
public static KurentoClient createFromJsonRpcClient(JsonRpcClient jsonRpcClient)
public Transaction beginTransaction()
public ServerManager getServerManager()
public <T extends KurentoObject> T getById(String id, Class<T> clazz)
Copyright © 2015 Kurento. All rights reserved.