Package org.kurento.client
Interface UriEndpoint
-
- All Superinterfaces:
Endpoint
,KurentoObject
,MediaElement
,MediaObject
- All Known Subinterfaces:
PlayerEndpoint
,RecorderEndpoint
public interface UriEndpoint extends Endpoint
Interface for endpoints the require a URI to work. An example of this, would be a :rom:cls:`PlayerEndpoint` whose URI property could be used to locate a file to stream.
-
-
Method Summary
-
Methods inherited from interface org.kurento.client.KurentoObject
addEventListener, invoke, isCommited, release, release, release, removeEventListener, waitCommited, whenCommited, whenCommited
-
Methods inherited from interface org.kurento.client.MediaElement
addElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, addMediaFlowInStateChangedListener, addMediaFlowInStateChangedListener, addMediaFlowInStateChangeListener, addMediaFlowInStateChangeListener, addMediaFlowOutStateChangedListener, addMediaFlowOutStateChangedListener, addMediaFlowOutStateChangeListener, addMediaFlowOutStateChangeListener, addMediaTranscodingStateChangedListener, addMediaTranscodingStateChangedListener, addMediaTranscodingStateChangeListener, addMediaTranscodingStateChangeListener, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getEncoderBitrate, getEncoderBitrate, getEncoderBitrate, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getMaxEncoderBitrate, getMaxEncoderBitrate, getMaxEncoderBitrate, getMinEncoderBitrate, getMinEncoderBitrate, getMinEncoderBitrate, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getStats, getStats, getStats, getStats, getStats, getStats, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, removeMediaFlowInStateChangedListener, removeMediaFlowInStateChangedListener, removeMediaFlowInStateChangeListener, removeMediaFlowInStateChangeListener, removeMediaFlowOutStateChangedListener, removeMediaFlowOutStateChangedListener, removeMediaFlowOutStateChangeListener, removeMediaFlowOutStateChangeListener, removeMediaTranscodingStateChangedListener, removeMediaTranscodingStateChangedListener, removeMediaTranscodingStateChangeListener, removeMediaTranscodingStateChangeListener, setAudioFormat, setAudioFormat, setAudioFormat, setEncoderBitrate, setEncoderBitrate, setEncoderBitrate, setMaxEncoderBitrate, setMaxEncoderBitrate, setMaxEncoderBitrate, setMinEncoderBitrate, setMinEncoderBitrate, setMinEncoderBitrate, setVideoFormat, setVideoFormat, setVideoFormat
-
Methods inherited from interface org.kurento.client.MediaObject
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, getCreationTime, getCreationTime, getCreationTime, getId, getId, getId, getMediaPipeline, getMediaPipeline, getMediaPipeline, getName, getName, getName, getParent, getParent, getParent, getSendTagsInEvents, getSendTagsInEvents, getSendTagsInEvents, getTag, getTag, getTag, getTags, getTags, getTags, removeErrorListener, removeErrorListener, removeTag, removeTag, removeTag, setName, setName, setName, setSendTagsInEvents, setSendTagsInEvents, setSendTagsInEvents
-
-
-
-
Method Detail
-
getUri
String getUri()
Get The uri for this endpoint.
-
getUri
void getUri(Continuation<String> cont)
Get The uri for this endpoint.
-
getUri
TFuture<String> getUri(Transaction tx)
Get The uri for this endpoint.
-
getState
UriEndpointState getState()
Get State of the endpoint
-
getState
void getState(Continuation<UriEndpointState> cont)
Get State of the endpoint
-
getState
TFuture<UriEndpointState> getState(Transaction tx)
Get State of the endpoint
-
pause
void pause()
Pauses the feed
-
pause
void pause(Continuation<Void> cont)
Asynchronous version of pause:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- See Also:
pause()
-
pause
void pause(Transaction tx)
Pauses the feed
-
stop
void stop()
Stops the feed
-
stop
void stop(Continuation<Void> cont)
Asynchronous version of stop:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- See Also:
stop()
-
stop
void stop(Transaction tx)
Stops the feed
-
addUriEndpointStateChangedListener
ListenerSubscription addUriEndpointStateChangedListener(EventListener<UriEndpointStateChangedEvent> listener)
Add aEventListener
for eventUriEndpointStateChangedEvent
. Synchronous call.- Parameters:
listener
- Listener to be called on UriEndpointStateChangedEvent- Returns:
- ListenerSubscription for the given Listener
-
addUriEndpointStateChangedListener
void addUriEndpointStateChangedListener(EventListener<UriEndpointStateChangedEvent> listener, Continuation<ListenerSubscription> cont)
Add aEventListener
for eventUriEndpointStateChangedEvent
. Asynchronous call. Calls Continuation<ListenerSubscription> when it has been added.- Parameters:
listener
- Listener to be called on UriEndpointStateChangedEventcont
- Continuation to be called when the listener is registered
-
removeUriEndpointStateChangedListener
void removeUriEndpointStateChangedListener(ListenerSubscription listenerSubscription)
Remove aListenerSubscription
for eventUriEndpointStateChangedEvent
. Synchronous call.- Parameters:
listenerSubscription
- Listener subscription to be removed
-
removeUriEndpointStateChangedListener
void removeUriEndpointStateChangedListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
Remove aListenerSubscription
for eventUriEndpointStateChangedEvent
. Asynchronous call. Calls Continuation<Void> when it has been removed.- Parameters:
listenerSubscription
- Listener subscription to be removedcont
- Continuation to be called when the listener is removed
-
-