| Package | Description |
|---|---|
| org.kurento.client |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
ElementConnectedEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
ElementDisconnectedEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
ElementConnectionData.getType()
get MediaType of the connection
|
static MediaType |
MediaType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
MediaType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MediaElement.connect(MediaElement sink,
MediaType mediaType)
Connects two elements, with the given restrictions, current
MediaElement will start emmit media to sink element. |
void |
MediaElement.connect(MediaElement sink,
MediaType mediaType,
Continuation<Void> cont)
Asynchronous version of connect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
MediaElement.connect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription)
Connects two elements, with the given restrictions, current
MediaElement will start emmit media to sink element. |
void |
MediaElement.connect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
Continuation<Void> cont)
Asynchronous version of connect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
MediaElement.connect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Connects two elements, with the given restrictions, current
MediaElement will start emmit media to sink element. |
void |
MediaElement.connect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription,
Continuation<Void> cont)
Asynchronous version of connect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
Mixer.connect(MediaType media,
HubPort source,
HubPort sink)
Connects each corresponding
MediaType of the given source port with the sink port. |
void |
Mixer.connect(MediaType media,
HubPort source,
HubPort sink,
Continuation<Void> cont)
Asynchronous version of connect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
MediaElement.connect(Transaction tx,
MediaElement sink,
MediaType mediaType)
Connects two elements, with the given restrictions, current
MediaElement will start emmit media to sink element. |
void |
MediaElement.connect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription)
Connects two elements, with the given restrictions, current
MediaElement will start emmit media to sink element. |
void |
MediaElement.connect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Connects two elements, with the given restrictions, current
MediaElement will start emmit media to sink element. |
void |
Mixer.connect(Transaction tx,
MediaType media,
HubPort source,
HubPort sink)
Connects each corresponding
MediaType of the given source port with the sink port. |
void |
MediaElement.disconnect(MediaElement sink,
MediaType mediaType)
Disconnects two elements, with the given restrictions, current
MediaElement stops sending media to sink element. |
void |
MediaElement.disconnect(MediaElement sink,
MediaType mediaType,
Continuation<Void> cont)
Asynchronous version of disconnect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
MediaElement.disconnect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription)
Disconnects two elements, with the given restrictions, current
MediaElement stops sending media to sink element. |
void |
MediaElement.disconnect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
Continuation<Void> cont)
Asynchronous version of disconnect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
MediaElement.disconnect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Disconnects two elements, with the given restrictions, current
MediaElement stops sending media to sink element. |
void |
MediaElement.disconnect(MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription,
Continuation<Void> cont)
Asynchronous version of disconnect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
Mixer.disconnect(MediaType media,
HubPort source,
HubPort sink)
Disonnects each corresponding
MediaType of the given source port from the sink port. |
void |
Mixer.disconnect(MediaType media,
HubPort source,
HubPort sink,
Continuation<Void> cont)
Asynchronous version of disconnect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
MediaElement.disconnect(Transaction tx,
MediaElement sink,
MediaType mediaType)
Disconnects two elements, with the given restrictions, current
MediaElement stops sending media to sink element. |
void |
MediaElement.disconnect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription)
Disconnects two elements, with the given restrictions, current
MediaElement stops sending media to sink element. |
void |
MediaElement.disconnect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Disconnects two elements, with the given restrictions, current
MediaElement stops sending media to sink element. |
void |
Mixer.disconnect(Transaction tx,
MediaType media,
HubPort source,
HubPort sink)
Disonnects each corresponding
MediaType of the given source port from the sink port. |
List<ElementConnectionData> |
MediaElement.getSinkConnections(MediaType mediaType)
Returns a list of the connections information of the elements that ere receiving media from this element.
|
void |
MediaElement.getSinkConnections(MediaType mediaType,
Continuation<List<ElementConnectionData>> cont)
Asynchronous version of getSinkConnections:
Continuation.onSuccess(F) is called when the action is
done. |
List<ElementConnectionData> |
MediaElement.getSinkConnections(MediaType mediaType,
String description)
Returns a list of the connections information of the elements that ere receiving media from this element.
|
void |
MediaElement.getSinkConnections(MediaType mediaType,
String description,
Continuation<List<ElementConnectionData>> cont)
Asynchronous version of getSinkConnections:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<List<ElementConnectionData>> |
MediaElement.getSinkConnections(Transaction tx,
MediaType mediaType)
Returns a list of the connections information of the elements that ere receiving media from this element.
|
TFuture<List<ElementConnectionData>> |
MediaElement.getSinkConnections(Transaction tx,
MediaType mediaType,
String description)
Returns a list of the connections information of the elements that ere receiving media from this element.
|
List<ElementConnectionData> |
MediaElement.getSourceConnections(MediaType mediaType)
Get the connections information of the elements that are sending media to this element
MediaElement |
void |
MediaElement.getSourceConnections(MediaType mediaType,
Continuation<List<ElementConnectionData>> cont)
Asynchronous version of getSourceConnections:
Continuation.onSuccess(F) is called when the action is
done. |
List<ElementConnectionData> |
MediaElement.getSourceConnections(MediaType mediaType,
String description)
Get the connections information of the elements that are sending media to this element
MediaElement |
void |
MediaElement.getSourceConnections(MediaType mediaType,
String description,
Continuation<List<ElementConnectionData>> cont)
Asynchronous version of getSourceConnections:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<List<ElementConnectionData>> |
MediaElement.getSourceConnections(Transaction tx,
MediaType mediaType)
Get the connections information of the elements that are sending media to this element
MediaElement |
TFuture<List<ElementConnectionData>> |
MediaElement.getSourceConnections(Transaction tx,
MediaType mediaType,
String description)
Get the connections information of the elements that are sending media to this element
MediaElement |
Map<String,Stats> |
MediaElement.getStats(MediaType mediaType)
Provides statistics collected for this endpoint
|
void |
MediaElement.getStats(MediaType mediaType,
Continuation<Map<String,Stats>> cont)
Asynchronous version of getStats:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<Map<String,Stats>> |
MediaElement.getStats(Transaction tx,
MediaType mediaType)
Provides statistics collected for this endpoint
|
void |
ElementConnectedEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
ElementDisconnectedEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
ElementConnectionData.setType(MediaType type)
set MediaType of the connection
|
| Constructor and Description |
|---|
ElementConnectedEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Indicates that an element has been connected to other
|
ElementConnectionData(MediaElement source,
MediaElement sink,
MediaType type,
String sourceDescription,
String sinkDescription)
Create a ElementConnectionData
|
ElementDisconnectedEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Indicates that an element has been disconnected
|
Copyright © 2015 Kurento. All rights reserved.