Package org.kurento.client
Interface KurentoObject
- All Known Subinterfaces:
AlphaBlending
,BaseRtpEndpoint
,Composite
,Dispatcher
,DispatcherOneToMany
,Endpoint
,FaceOverlayFilter
,Filter
,GenericMediaElement
,GStreamerFilter
,HttpEndpoint
,HttpPostEndpoint
,Hub
,HubPort
,ImageOverlayFilter
,MediaElement
,MediaObject
,MediaPipeline
,Mixer
,OpenCVFilter
,PassThrough
,PlayerEndpoint
,RecorderEndpoint
,RtpEndpoint
,SdpEndpoint
,ServerManager
,SessionEndpoint
,UriEndpoint
,WebRtcEndpoint
,ZBarFilter
public interface KurentoObject
-
Method Summary
Modifier and TypeMethodDescription<T extends Event>
ListenerSubscriptionaddEventListener
(String type, EventListener<T> listener, Class<T> eventType) getId()
boolean
void
release()
Explicitly release a media object form memory.void
release
(Continuation<Void> continuation) Explicitly release a media object form memory.void
release
(Transaction tx) void
removeEventListener
(ListenerSubscription listener) void
void
whenCommited
(Continuation<?> continuation) void
whenCommited
(Continuation<?> continuation, Executor executor)
-
Method Details
-
isCommited
boolean isCommited() -
waitCommited
- Throws:
InterruptedException
-
whenCommited
-
whenCommited
-
release
void release()Explicitly release a media object form memory. All of its children will also be released. -
release
Explicitly release a media object form memory. All of its children will also be released. Asynchronous call.- Parameters:
continuation
-Continuation.onSuccess(F)
will be called when the actions complete.Continuation.onError(java.lang.Throwable)
will be called if there is an exception.
-
release
-
getId
String getId() -
invoke
-
addEventListener
<T extends Event> ListenerSubscription addEventListener(String type, EventListener<T> listener, Class<T> eventType) -
removeEventListener
-