public interface KurentoClientProvider
KurentoClient
instance at any time, without requiring knowledge about the placement of the media server
instances. It is left for the developer to provide an implementation for this API.Modifier and Type | Method and Description |
---|---|
boolean |
destroyWhenUnused() |
KurentoClient |
getKurentoClient(KurentoClientSessionInfo sessionInfo)
Obtains a
KurentoClient instance given the custom session bean. |
KurentoClient getKurentoClient(KurentoClientSessionInfo sessionInfo) throws RoomException
KurentoClient
instance given the custom session bean. Normally, it'd be
called during a room's instantiation.sessionInfo
- custom information object required by the implementors of this interfaceKurentoClient
instanceRoomException
- in case there is an error obtaining a KurentoClient
instanceboolean destroyWhenUnused()