public interface WebRtcEndpoint extends BaseRtpEndpoint
Endpoint offers media streaming using WebRTC.| Modifier and Type | Interface and Description |
|---|---|
static class |
WebRtcEndpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
addIceCandidate(IceCandidate candidate)
Provide a remote ICE candidate
|
void |
addIceCandidate(IceCandidate candidate,
Continuation<Void> cont)
Asynchronous version of addIceCandidate:
Continuation.onSuccess(F) is called when the action is
done. |
void |
addIceCandidate(Transaction tx,
IceCandidate candidate)
Provide a remote ICE candidate
|
ListenerSubscription |
addOnDataChannelClosedListener(EventListener<OnDataChannelClosedEvent> listener)
Add a
EventListener for event OnDataChannelClosedEvent. |
void |
addOnDataChannelClosedListener(EventListener<OnDataChannelClosedEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event OnDataChannelClosedEvent. |
ListenerSubscription |
addOnDataChannelOpenedListener(EventListener<OnDataChannelOpenedEvent> listener)
Add a
EventListener for event OnDataChannelOpenedEvent. |
void |
addOnDataChannelOpenedListener(EventListener<OnDataChannelOpenedEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event OnDataChannelOpenedEvent. |
ListenerSubscription |
addOnIceCandidateListener(EventListener<OnIceCandidateEvent> listener)
Add a
EventListener for event OnIceCandidateEvent. |
void |
addOnIceCandidateListener(EventListener<OnIceCandidateEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event OnIceCandidateEvent. |
ListenerSubscription |
addOnIceComponentStateChangedListener(EventListener<OnIceComponentStateChangedEvent> listener)
Add a
EventListener for event OnIceComponentStateChangedEvent. |
void |
addOnIceComponentStateChangedListener(EventListener<OnIceComponentStateChangedEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event OnIceComponentStateChangedEvent. |
ListenerSubscription |
addOnIceGatheringDoneListener(EventListener<OnIceGatheringDoneEvent> listener)
Add a
EventListener for event OnIceGatheringDoneEvent. |
void |
addOnIceGatheringDoneListener(EventListener<OnIceGatheringDoneEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event OnIceGatheringDoneEvent. |
void |
closeDataChannel(int channelId)
Close an opened data channel
|
void |
closeDataChannel(int channelId,
Continuation<Void> cont)
Asynchronous version of closeDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
closeDataChannel(Transaction tx,
int channelId)
Close an opened data channel
|
void |
createDataChannel()
Create a new data channel if data channel are supported
|
void |
createDataChannel(Continuation<Void> cont)
Asynchronous version of createDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
createDataChannel(String label)
Create a new data channel if data channel are supported
|
void |
createDataChannel(String label,
boolean ordered)
Create a new data channel if data channel are supported
|
void |
createDataChannel(String label,
boolean ordered,
Continuation<Void> cont)
Asynchronous version of createDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
createDataChannel(String label,
boolean ordered,
int maxPacketLifeTime)
Create a new data channel if data channel are supported
|
void |
createDataChannel(String label,
boolean ordered,
int maxPacketLifeTime,
Continuation<Void> cont)
Asynchronous version of createDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
createDataChannel(String label,
boolean ordered,
int maxPacketLifeTime,
int maxRetransmits)
Create a new data channel if data channel are supported
|
void |
createDataChannel(String label,
boolean ordered,
int maxPacketLifeTime,
int maxRetransmits,
Continuation<Void> cont)
Asynchronous version of createDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
createDataChannel(String label,
boolean ordered,
int maxPacketLifeTime,
int maxRetransmits,
String protocol)
Create a new data channel if data channel are supported
|
void |
createDataChannel(String label,
boolean ordered,
int maxPacketLifeTime,
int maxRetransmits,
String protocol,
Continuation<Void> cont)
Asynchronous version of createDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
createDataChannel(String label,
Continuation<Void> cont)
Asynchronous version of createDataChannel:
Continuation.onSuccess(F) is called when the action is
done. |
void |
createDataChannel(Transaction tx)
Create a new data channel if data channel are supported
|
void |
createDataChannel(Transaction tx,
String label)
Create a new data channel if data channel are supported
|
void |
createDataChannel(Transaction tx,
String label,
boolean ordered)
Create a new data channel if data channel are supported
|
void |
createDataChannel(Transaction tx,
String label,
boolean ordered,
int maxPacketLifeTime)
Create a new data channel if data channel are supported
|
void |
createDataChannel(Transaction tx,
String label,
boolean ordered,
int maxPacketLifeTime,
int maxRetransmits)
Create a new data channel if data channel are supported
|
void |
createDataChannel(Transaction tx,
String label,
boolean ordered,
int maxPacketLifeTime,
int maxRetransmits,
String protocol)
Create a new data channel if data channel are supported
|
void |
gatherCandidates()
Init the gathering of ICE candidates.
|
void |
gatherCandidates(Continuation<Void> cont)
Asynchronous version of gatherCandidates:
Continuation.onSuccess(F) is called when the action is
done. |
void |
gatherCandidates(Transaction tx)
Init the gathering of ICE candidates.
|
String |
getStunServerAddress() |
void |
getStunServerAddress(Continuation<String> cont) |
TFuture<String> |
getStunServerAddress(Transaction tx) |
int |
getStunServerPort() |
void |
getStunServerPort(Continuation<Integer> cont) |
TFuture<Integer> |
getStunServerPort(Transaction tx) |
String |
getTurnUrl() |
void |
getTurnUrl(Continuation<String> cont) |
TFuture<String> |
getTurnUrl(Transaction tx) |
void |
removeOnDataChannelClosedListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event OnDataChannelClosedEvent. |
void |
removeOnDataChannelClosedListener(ListenerSubscription listenerSubscription,
Continuation<Void> cont)
Remove a
ListenerSubscription for event OnDataChannelClosedEvent. |
void |
removeOnDataChannelOpenedListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event OnDataChannelOpenedEvent. |
void |
removeOnDataChannelOpenedListener(ListenerSubscription listenerSubscription,
Continuation<Void> cont)
Remove a
ListenerSubscription for event OnDataChannelOpenedEvent. |
void |
removeOnIceCandidateListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event OnIceCandidateEvent. |
void |
removeOnIceCandidateListener(ListenerSubscription listenerSubscription,
Continuation<Void> cont)
Remove a
ListenerSubscription for event OnIceCandidateEvent. |
void |
removeOnIceComponentStateChangedListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event OnIceComponentStateChangedEvent. |
void |
removeOnIceComponentStateChangedListener(ListenerSubscription listenerSubscription,
Continuation<Void> cont)
Remove a
ListenerSubscription for event OnIceComponentStateChangedEvent. |
void |
removeOnIceGatheringDoneListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event OnIceGatheringDoneEvent. |
void |
removeOnIceGatheringDoneListener(ListenerSubscription listenerSubscription,
Continuation<Void> cont)
Remove a
ListenerSubscription for event OnIceGatheringDoneEvent. |
void |
setStunServerAddress(String stunServerAddress) |
void |
setStunServerAddress(String stunServerAddress,
Continuation<Void> cont) |
void |
setStunServerAddress(String stunServerAddress,
Transaction tx) |
void |
setStunServerPort(int stunServerPort) |
void |
setStunServerPort(int stunServerPort,
Continuation<Void> cont) |
void |
setStunServerPort(int stunServerPort,
Transaction tx) |
void |
setTurnUrl(String turnUrl) |
void |
setTurnUrl(String turnUrl,
Continuation<Void> cont) |
void |
setTurnUrl(String turnUrl,
Transaction tx) |
addConnectionStateChangedListener, addConnectionStateChangedListener, addMediaStateChangedListener, addMediaStateChangedListener, getConnectionState, getConnectionState, getConnectionState, getMaxVideoSendBandwidth, getMaxVideoSendBandwidth, getMaxVideoSendBandwidth, getMediaState, getMediaState, getMediaState, getMinVideoRecvBandwidth, getMinVideoRecvBandwidth, getMinVideoRecvBandwidth, getMinVideoSendBandwidth, getMinVideoSendBandwidth, getMinVideoSendBandwidth, getRembParams, getRembParams, getRembParams, removeConnectionStateChangedListener, removeConnectionStateChangedListener, removeMediaStateChangedListener, removeMediaStateChangedListener, setMaxVideoSendBandwidth, setMaxVideoSendBandwidth, setMaxVideoSendBandwidth, setMinVideoRecvBandwidth, setMinVideoRecvBandwidth, setMinVideoRecvBandwidth, setMinVideoSendBandwidth, setMinVideoSendBandwidth, setMinVideoSendBandwidth, setRembParams, setRembParams, setRembParamsgenerateOffer, generateOffer, generateOffer, getLocalSessionDescriptor, getLocalSessionDescriptor, getLocalSessionDescriptor, getMaxAudioRecvBandwidth, getMaxAudioRecvBandwidth, getMaxAudioRecvBandwidth, getMaxVideoRecvBandwidth, getMaxVideoRecvBandwidth, getMaxVideoRecvBandwidth, getRemoteSessionDescriptor, getRemoteSessionDescriptor, getRemoteSessionDescriptor, processAnswer, processAnswer, processAnswer, processOffer, processOffer, processOffer, setMaxAudioRecvBandwidth, setMaxAudioRecvBandwidth, setMaxAudioRecvBandwidth, setMaxVideoRecvBandwidth, setMaxVideoRecvBandwidth, setMaxVideoRecvBandwidthaddMediaSessionStartedListener, addMediaSessionStartedListener, addMediaSessionTerminatedListener, addMediaSessionTerminatedListener, removeMediaSessionStartedListener, removeMediaSessionStartedListener, removeMediaSessionTerminatedListener, removeMediaSessionTerminatedListeneraddElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getMaxOuputBitrate, getMaxOuputBitrate, getMaxOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getStats, getStats, getStats, getStats, getStats, getStats, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, setAudioFormat, setAudioFormat, setAudioFormat, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setOutputBitrate, setOutputBitrate, setOutputBitrate, setVideoFormat, setVideoFormat, setVideoFormataddErrorListener, addErrorListener, addTag, addTag, addTag, getChilds, getChilds, getChilds, 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, setSendTagsInEventsisCommited, release, release, release, waitCommited, whenCommited, whenCommitedString getStunServerAddress()
void getStunServerAddress(Continuation<String> cont)
TFuture<String> getStunServerAddress(Transaction tx)
void setStunServerAddress(String stunServerAddress)
void setStunServerAddress(String stunServerAddress, Continuation<Void> cont)
void setStunServerAddress(String stunServerAddress, Transaction tx)
int getStunServerPort()
void getStunServerPort(Continuation<Integer> cont)
TFuture<Integer> getStunServerPort(Transaction tx)
void setStunServerPort(int stunServerPort)
void setStunServerPort(int stunServerPort,
Continuation<Void> cont)
void setStunServerPort(int stunServerPort,
Transaction tx)
String getTurnUrl()
void getTurnUrl(Continuation<String> cont)
TFuture<String> getTurnUrl(Transaction tx)
void setTurnUrl(String turnUrl)
void setTurnUrl(String turnUrl, Continuation<Void> cont)
void setTurnUrl(String turnUrl, Transaction tx)
void gatherCandidates()
void gatherCandidates(Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.gatherCandidates()void gatherCandidates(Transaction tx)
void addIceCandidate(IceCandidate candidate)
candidate - Remote ICE candidatevoid addIceCandidate(IceCandidate candidate, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.candidate - Remote ICE candidateaddIceCandidate(org.kurento.client.IceCandidate)void addIceCandidate(Transaction tx, IceCandidate candidate)
candidate - Remote ICE candidatevoid createDataChannel(String label, boolean ordered, int maxPacketLifeTime, int maxRetransmits, String protocol)
label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modemaxRetransmits - maximum number of retransmissions that are attempted in unreliable modeprotocol - the name of the sub-protocol usedvoid createDataChannel(String label, boolean ordered, int maxPacketLifeTime, int maxRetransmits, String protocol, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modemaxRetransmits - maximum number of retransmissions that are attempted in unreliable modeprotocol - the name of the sub-protocol usedcreateDataChannel(java.lang.String, boolean, int, int, java.lang.String)void createDataChannel(Transaction tx, String label, boolean ordered, int maxPacketLifeTime, int maxRetransmits, String protocol)
label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modemaxRetransmits - maximum number of retransmissions that are attempted in unreliable modeprotocol - the name of the sub-protocol usedvoid closeDataChannel(int channelId)
channelId - The channel identifiervoid closeDataChannel(int channelId,
Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.channelId - The channel identifiercloseDataChannel(int)void closeDataChannel(Transaction tx, int channelId)
channelId - The channel identifiervoid createDataChannel()
void createDataChannel(Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.void createDataChannel(Transaction tx)
void createDataChannel(String label)
label - Channel's label attributevoid createDataChannel(String label, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.label - Channel's label attributecreateDataChannel(java.lang.String, boolean, int, int, java.lang.String)void createDataChannel(Transaction tx, String label)
label - Channel's label attributevoid createDataChannel(String label, boolean ordered)
label - Channel's label attributeordered - If the data channel should guarantee order or notvoid createDataChannel(String label, boolean ordered, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.label - Channel's label attributeordered - If the data channel should guarantee order or notcreateDataChannel(java.lang.String, boolean, int, int, java.lang.String)void createDataChannel(Transaction tx, String label, boolean ordered)
label - Channel's label attributeordered - If the data channel should guarantee order or notvoid createDataChannel(String label, boolean ordered, int maxPacketLifeTime)
label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modevoid createDataChannel(String label, boolean ordered, int maxPacketLifeTime, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modecreateDataChannel(java.lang.String, boolean, int, int, java.lang.String)void createDataChannel(Transaction tx, String label, boolean ordered, int maxPacketLifeTime)
label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modevoid createDataChannel(String label, boolean ordered, int maxPacketLifeTime, int maxRetransmits)
label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modemaxRetransmits - maximum number of retransmissions that are attempted in unreliable modevoid createDataChannel(String label, boolean ordered, int maxPacketLifeTime, int maxRetransmits, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modemaxRetransmits - maximum number of retransmissions that are attempted in unreliable modecreateDataChannel(java.lang.String, boolean, int, int, java.lang.String)void createDataChannel(Transaction tx, String label, boolean ordered, int maxPacketLifeTime, int maxRetransmits)
label - Channel's label attributeordered - If the data channel should guarantee order or notmaxPacketLifeTime - the length of the time window (in milliseconds) during which transmissions and retransmissions may occur in unreliable modemaxRetransmits - maximum number of retransmissions that are attempted in unreliable modeListenerSubscription addOnIceCandidateListener(EventListener<OnIceCandidateEvent> listener)
EventListener for event OnIceCandidateEvent. Synchronous call.listener - Listener to be called on OnIceCandidateEventvoid addOnIceCandidateListener(EventListener<OnIceCandidateEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event OnIceCandidateEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on OnIceCandidateEventcont - Continuation to be called when the listener is registeredvoid removeOnIceCandidateListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event OnIceCandidateEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeOnIceCandidateListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event OnIceCandidateEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedListenerSubscription addOnIceGatheringDoneListener(EventListener<OnIceGatheringDoneEvent> listener)
EventListener for event OnIceGatheringDoneEvent. Synchronous call.listener - Listener to be called on OnIceGatheringDoneEventvoid addOnIceGatheringDoneListener(EventListener<OnIceGatheringDoneEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event OnIceGatheringDoneEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on OnIceGatheringDoneEventcont - Continuation to be called when the listener is registeredvoid removeOnIceGatheringDoneListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event OnIceGatheringDoneEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeOnIceGatheringDoneListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event OnIceGatheringDoneEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedListenerSubscription addOnIceComponentStateChangedListener(EventListener<OnIceComponentStateChangedEvent> listener)
EventListener for event OnIceComponentStateChangedEvent. Synchronous call.listener - Listener to be called on OnIceComponentStateChangedEventvoid addOnIceComponentStateChangedListener(EventListener<OnIceComponentStateChangedEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event OnIceComponentStateChangedEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on OnIceComponentStateChangedEventcont - Continuation to be called when the listener is registeredvoid removeOnIceComponentStateChangedListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event OnIceComponentStateChangedEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeOnIceComponentStateChangedListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event OnIceComponentStateChangedEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedListenerSubscription addOnDataChannelOpenedListener(EventListener<OnDataChannelOpenedEvent> listener)
EventListener for event OnDataChannelOpenedEvent. Synchronous call.listener - Listener to be called on OnDataChannelOpenedEventvoid addOnDataChannelOpenedListener(EventListener<OnDataChannelOpenedEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event OnDataChannelOpenedEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on OnDataChannelOpenedEventcont - Continuation to be called when the listener is registeredvoid removeOnDataChannelOpenedListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event OnDataChannelOpenedEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeOnDataChannelOpenedListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event OnDataChannelOpenedEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedListenerSubscription addOnDataChannelClosedListener(EventListener<OnDataChannelClosedEvent> listener)
EventListener for event OnDataChannelClosedEvent. Synchronous call.listener - Listener to be called on OnDataChannelClosedEventvoid addOnDataChannelClosedListener(EventListener<OnDataChannelClosedEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event OnDataChannelClosedEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on OnDataChannelClosedEventcont - Continuation to be called when the listener is registeredvoid removeOnDataChannelClosedListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event OnDataChannelClosedEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeOnDataChannelClosedListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event OnDataChannelClosedEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedCopyright © 2015 Kurento. All rights reserved.