Modifier and Type | Method and Description |
---|---|
MediaType |
ElementDisconnectedEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
MediaFlowInStateChangeEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
ElementConnectedEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
MediaTranscodingStateChangeEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
MediaFlowOutStateChangeEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
OnKeySoftLimitEvent.getMediaType()
Getter for the mediaType property
|
MediaType |
ElementConnectionData.getType()
get MediaType of the connection
|
MediaType |
MediaLatencyStat.getType()
get Type of media stream
|
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 media flowing from left to right: the elements that invokes the connect wil be the source of media, creating one sink pad for each type of media connected.
|
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 media flowing from left to right: the elements that invokes the connect wil be the source of media, creating one sink pad for each type of media connected.
|
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 media flowing from left to right: the elements that invokes the connect wil be the source of media, creating one sink pad for each type of media connected.
|
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 media flowing from left to right: the elements that invokes the connect wil be the source of media, creating one sink pad for each type of media connected.
|
void |
MediaElement.connect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription)
Connects two elements, with the media flowing from left to right: the elements that invokes the connect wil be the source of media, creating one sink pad for each type of media connected.
|
void |
MediaElement.connect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Connects two elements, with the media flowing from left to right: the elements that invokes the connect wil be the source of media, creating one sink pad for each type of media connected.
|
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 media elements.
|
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 media elements.
|
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 media elements.
|
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 media elements.
|
void |
MediaElement.disconnect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription)
Disconnects two media elements.
|
void |
MediaElement.disconnect(Transaction tx,
MediaElement sink,
MediaType mediaType,
String sourceMediaDescription,
String sinkMediaDescription)
Disconnects two media elements.
|
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)
Gets information about the source pads of this media 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)
Gets information about the source pads of this media 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)
Gets information about the source pads of this media element.
|
TFuture<List<ElementConnectionData>> |
MediaElement.getSinkConnections(Transaction tx,
MediaType mediaType,
String description)
Gets information about the source pads of this media element.
|
List<ElementConnectionData> |
MediaElement.getSourceConnections(MediaType mediaType)
Gets information about the sink pads of this media element.
|
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)
Gets information about the sink pads of this media element.
|
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)
Gets information about the sink pads of this media element.
|
TFuture<List<ElementConnectionData>> |
MediaElement.getSourceConnections(Transaction tx,
MediaType mediaType,
String description)
Gets information about the sink pads of this media element.
|
Map<String,Stats> |
MediaElement.getStats(MediaType mediaType)
Gets the statistics related to an 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)
Gets the statistics related to an endpoint.
|
boolean |
MediaElement.isMediaFlowingIn(MediaType mediaType)
This method indicates whether the media element is receiving media of a certain type.
|
void |
MediaElement.isMediaFlowingIn(MediaType mediaType,
Continuation<Boolean> cont)
Asynchronous version of isMediaFlowingIn:
Continuation.onSuccess(F) is called when the action is
done. |
boolean |
MediaElement.isMediaFlowingIn(MediaType mediaType,
String sinkMediaDescription)
This method indicates whether the media element is receiving media of a certain type.
|
void |
MediaElement.isMediaFlowingIn(MediaType mediaType,
String sinkMediaDescription,
Continuation<Boolean> cont)
Asynchronous version of isMediaFlowingIn:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<Boolean> |
MediaElement.isMediaFlowingIn(Transaction tx,
MediaType mediaType)
This method indicates whether the media element is receiving media of a certain type.
|
TFuture<Boolean> |
MediaElement.isMediaFlowingIn(Transaction tx,
MediaType mediaType,
String sinkMediaDescription)
This method indicates whether the media element is receiving media of a certain type.
|
boolean |
MediaElement.isMediaFlowingOut(MediaType mediaType)
This method indicates whether the media element is emitting media of a certain type.
|
void |
MediaElement.isMediaFlowingOut(MediaType mediaType,
Continuation<Boolean> cont)
Asynchronous version of isMediaFlowingOut:
Continuation.onSuccess(F) is called when the action is
done. |
boolean |
MediaElement.isMediaFlowingOut(MediaType mediaType,
String sourceMediaDescription)
This method indicates whether the media element is emitting media of a certain type.
|
void |
MediaElement.isMediaFlowingOut(MediaType mediaType,
String sourceMediaDescription,
Continuation<Boolean> cont)
Asynchronous version of isMediaFlowingOut:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<Boolean> |
MediaElement.isMediaFlowingOut(Transaction tx,
MediaType mediaType)
This method indicates whether the media element is emitting media of a certain type.
|
TFuture<Boolean> |
MediaElement.isMediaFlowingOut(Transaction tx,
MediaType mediaType,
String sourceMediaDescription)
This method indicates whether the media element is emitting media of a certain type.
|
boolean |
MediaElement.isMediaTranscoding(MediaType mediaType)
Indicates whether this media element is actively transcoding between input and output pads.
|
void |
MediaElement.isMediaTranscoding(MediaType mediaType,
Continuation<Boolean> cont)
Asynchronous version of isMediaTranscoding:
Continuation.onSuccess(F) is called when the action is
done. |
boolean |
MediaElement.isMediaTranscoding(MediaType mediaType,
String binName)
Indicates whether this media element is actively transcoding between input and output pads.
|
void |
MediaElement.isMediaTranscoding(MediaType mediaType,
String binName,
Continuation<Boolean> cont)
Asynchronous version of isMediaTranscoding:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<Boolean> |
MediaElement.isMediaTranscoding(Transaction tx,
MediaType mediaType)
Indicates whether this media element is actively transcoding between input and output pads.
|
TFuture<Boolean> |
MediaElement.isMediaTranscoding(Transaction tx,
MediaType mediaType,
String binName)
Indicates whether this media element is actively transcoding between input and output pads.
|
void |
ElementDisconnectedEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
MediaFlowInStateChangeEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
ElementConnectedEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
MediaTranscodingStateChangeEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
MediaFlowOutStateChangeEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
OnKeySoftLimitEvent.setMediaType(MediaType mediaType)
Setter for the mediaType property
|
void |
ElementConnectionData.setType(MediaType type)
set MediaType of the connection
|
void |
MediaLatencyStat.setType(MediaType type)
set Type of media stream
|
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 another
|
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 from another
|
MediaFlowInStateChangeEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaFlowState state,
String padName,
MediaType mediaType)
Fired when the incoming media flow begins or ends.
|
MediaFlowOutStateChangeEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaFlowState state,
String padName,
MediaType mediaType)
Fired when the outgoing media flow begins or ends.
|
MediaLatencyStat(String name,
MediaType type,
double avg)
Create a MediaLatencyStat
|
MediaTranscodingStateChangeEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaTranscodingState state,
String binName,
MediaType mediaType)
Event fired when an incoming media begins and codec transcoding is either required or not.
|
OnKeySoftLimitEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
MediaType mediaType)
Fired when encryption is used and any stream reached the soft key usage limit, which means it will expire soon.
|
Copyright © 2018 Kurento. All rights reserved.