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()booleanvoidrelease()Explicitly release a media object form memory.voidrelease(Continuation<Void> continuation) Explicitly release a media object form memory.voidrelease(Transaction tx) voidremoveEventListener(ListenerSubscription listener) voidvoidwhenCommited(Continuation<?> continuation) voidwhenCommited(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(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
-