public interface CallPeerRenderer
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases the resources (which require explicit disposal) acquired by this
CallPeerRenderer throughout its lifetime and prepares it for
garbage collection.
|
CallRenderer |
getCallRenderer()
Returns the parent call renderer.
|
boolean |
isDtmfToneEnabled() |
boolean |
isLocalVideoVisible()
Indicates if the local video component is currently visible.
|
void |
printDTMFTone(char dtmfChar)
Prints the given DTMG character through this CallPeerRenderer.
|
void |
securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent securityStartedEvent)
The handler for the security event received.
|
void |
securityOff(CallPeerSecurityOffEvent evt)
Indicates that the security is turned off.
|
void |
securityOn(CallPeerSecurityOnEvent evt)
Indicates that the security is turned on.
|
void |
securityPending()
Indicates that the security status is pending confirmation.
|
void |
securityTimeout(CallPeerSecurityTimeoutEvent evt)
Indicates that the security is timeouted, is not supported by the
other end.
|
void |
setDtmfToneEnabled(boolean enabled)
Enable or disable DTMF tone handle
|
void |
setErrorReason(java.lang.String reason)
Sets the reason of a call failure if one occurs.
|
void |
setLocalVideoVisible(boolean visible)
Shows/hides the local video component.
|
void |
setMute(boolean mute)
Sets the mute property value.
|
void |
setOnHold(boolean onHold)
Sets the "on hold" property value.
|
void |
setPeerImage(byte[] image)
Sets the image of the peer.
|
void |
setPeerName(java.lang.String name)
Sets the name of the peer.
|
void |
setPeerState(CallPeerState oldState,
CallPeerState newState,
java.lang.String stateString)
Sets the state of the contained call peer by specifying the
state name.
|
void |
setSecurityPanelVisible(boolean visible)
Shows/hides the security panel.
|
void dispose()
CallRenderer getCallRenderer()
boolean isLocalVideoVisible()
void printDTMFTone(char dtmfChar)
dtmfChar
- the DTMF char to printvoid securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent securityStartedEvent)
securityStartedEvent
- the security started event receivedvoid securityOff(CallPeerSecurityOffEvent evt)
evt
- Details about the event that caused this message.void securityOn(CallPeerSecurityOnEvent evt)
evt
- Details about the event that caused this message.void securityPending()
void securityTimeout(CallPeerSecurityTimeoutEvent evt)
evt
- Details about the event that caused this message.void setErrorReason(java.lang.String reason)
reason
- the reason of the error to setvoid setLocalVideoVisible(boolean visible)
visible
- true to show the local video or false to
hide itvoid setMute(boolean mute)
mute
- true to mute the CallPeer depicted by this
instance; false, otherwisevoid setOnHold(boolean onHold)
onHold
- true to put the CallPeer depicted by this
instance on hold; false, otherwisevoid setPeerImage(byte[] image)
image
- the image to setvoid setPeerName(java.lang.String name)
name
- the name of the peervoid setPeerState(CallPeerState oldState, CallPeerState newState, java.lang.String stateString)
oldState
- the previous state of the peernewState
- the new state of the peerstateString
- the state of the contained call peervoid setSecurityPanelVisible(boolean visible)
visible
- true to show the security panel or false
to hide itvoid setDtmfToneEnabled(boolean enabled)
enabled
- - if true DTMF tone is enabled and disabled if falseboolean isDtmfToneEnabled()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.