public interface OperationSetVideoTelephony extends OperationSet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCAL_VIDEO_STREAMING
The property which indicates whether a specific Call is
currently streaming the local video (to a remote destination).
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(Call call,
java.beans.PropertyChangeListener listener)
Adds a specific PropertyChangeListener to the list of
listeners which get notified when the properties (e.g.
|
void |
addVideoListener(CallPeer peer,
org.jitsi.util.event.VideoListener listener)
Adds a specific VideoListener to this telephony in order to
receive notifications when visual/video Components are being
added and removed for a specific CallPeer.
|
void |
answerVideoCallPeer(CallPeer peer)
Indicates a user request to answer an incoming call with video enabled
from the specified CallPeer.
|
Call |
createVideoCall(Contact callee)
Create a new video call and invite the specified CallPeer to it.
|
Call |
createVideoCall(Contact callee,
org.jitsi.service.neomedia.QualityPreset qualityPreferences)
Create a new video call and invite the specified CallPeer to it.
|
Call |
createVideoCall(java.lang.String uri)
Create a new video call and invite the specified CallPeer to it.
|
Call |
createVideoCall(java.lang.String uri,
org.jitsi.service.neomedia.QualityPreset qualityPreferences)
Create a new video call and invite the specified CallPeer to it.
|
ConferenceMember |
getConferenceMember(CallPeer peer,
java.awt.Component visualComponent)
Determines the ConferenceMember which is participating in a
telephony conference with a specific CallPeer as its focus and
which is sending a video content/RTP stream displayed in a specific
visual Component.
|
java.awt.Component |
getLocalVisualComponent(CallPeer peer)
Gets the visual Component which depicts the local video
being streamed to a specific CallPeer.
|
org.jitsi.service.neomedia.QualityControl |
getQualityControl(CallPeer peer)
Returns the quality control for video calls if any.
|
java.awt.Component |
getVisualComponent(CallPeer peer)
Deprecated.
|
java.util.List<java.awt.Component> |
getVisualComponents(CallPeer peer)
Gets the visual/video Components available in this telephony for
a specific CallPeer.
|
boolean |
isLocalVideoAllowed(Call call)
Gets the indicator which determines whether the streaming of local video
in a specific Call is allowed.
|
boolean |
isLocalVideoStreaming(Call call)
Gets the indicator which determines whether a specific Call
is currently streaming the local video (to a remote destination).
|
void |
removePropertyChangeListener(Call call,
java.beans.PropertyChangeListener listener)
Removes a specific PropertyChangeListener from the list of
listeners which get notified when the properties (e.g.
|
void |
removeVideoListener(CallPeer peer,
org.jitsi.util.event.VideoListener listener)
Removes a specific VideoListener from this telephony in
order to no longer have it receive notifications when visual/video
Components are being added and removed for a specific
CallPeer.
|
void |
setLocalVideoAllowed(Call call,
boolean allowed)
Sets the indicator which determines whether the streaming of local video
in a specific Call is allowed.
|
static final java.lang.String LOCAL_VIDEO_STREAMING
void addVideoListener(CallPeer peer, org.jitsi.util.event.VideoListener listener)
peer
- the CallPeer whose video the specified listener
is to be notified aboutlistener
- the VideoListener to be notified when
visual/video Components are being added or removed for
peerjava.awt.Component getLocalVisualComponent(CallPeer peer) throws OperationFailedException
peer
- the CallPeer to whom the local video which is to be
depicted by the returned visual Component is being streamedOperationFailedException
- if creating the component fails for
whatever reason.@Deprecated java.awt.Component getVisualComponent(CallPeer peer)
peer
- the CallPeer whose video is to be retrievedjava.util.List<java.awt.Component> getVisualComponents(CallPeer peer)
peer
- the CallPeer whose videos are to be retrievedvoid removeVideoListener(CallPeer peer, org.jitsi.util.event.VideoListener listener)
peer
- the CallPeer whose video the specified listener is
to no longer be notified aboutlistener
- the VideoListener to no longer be notified
when visual/video Components are being added or removed for
peervoid setLocalVideoAllowed(Call call, boolean allowed) throws OperationFailedException
call
- the Call to allow/disallow the streaming of local
video forallowed
- true to allow the streaming of local video for
the specified Call; false to disallow itOperationFailedException
- if initializing local video fails.boolean isLocalVideoAllowed(Call call)
call
- the Call to get the indicator ofboolean isLocalVideoStreaming(Call call)
call
- the Call to get the indicator ofvoid addPropertyChangeListener(Call call, java.beans.PropertyChangeListener listener)
LOCAL_VIDEO_STREAMING
) associated with a specific
Call change their values.call
- the Call to start listening to the changes of
the property values oflistener
- the PropertyChangeListener to be notified
when the properties associated with the specified Call change
their valuesvoid removePropertyChangeListener(Call call, java.beans.PropertyChangeListener listener)
LOCAL_VIDEO_STREAMING
) associated with a specific
Call change their values.call
- the Call to stop listening to the changes of the
property values oflistener
- the PropertyChangeListener to no longer be
notified when the properties associated with the specified Call
change their valuesCall createVideoCall(java.lang.String uri) throws OperationFailedException, java.text.ParseException
uri
- the address of the callee that we should invite to a new
call.OperationFailedException
- with the corresponding code if we fail
to create the video call.java.text.ParseException
- if callee is not a valid sip address
string.Call createVideoCall(Contact callee) throws OperationFailedException
callee
- the address of the callee that we should invite to a new
call.OperationFailedException
- with the corresponding code if we fail
to create the video call.Call createVideoCall(java.lang.String uri, org.jitsi.service.neomedia.QualityPreset qualityPreferences) throws OperationFailedException, java.text.ParseException
uri
- the address of the callee that we should invite to a new
call.qualityPreferences
- the quality preset we will use establishing
the video call, and we will expect from the other side. When establishing
call we don't have any indications whether remote part supports quality
presets, so this setting can be ignored.OperationFailedException
- with the corresponding code if we fail
to create the video call.java.text.ParseException
- if callee is not a valid sip address
string.Call createVideoCall(Contact callee, org.jitsi.service.neomedia.QualityPreset qualityPreferences) throws OperationFailedException
callee
- the address of the callee that we should invite to a new
call.qualityPreferences
- the quality preset we will use establishing
the video call, and we will expect from the other side. When establishing
call we don't have any indications whether remote part supports quality
presets, so this setting can be ignored.OperationFailedException
- with the corresponding code if we fail
to create the video call.void answerVideoCallPeer(CallPeer peer) throws OperationFailedException
peer
- the call peer that we'd like to answer.OperationFailedException
- with the corresponding code if we
encounter an error while performing this operation.org.jitsi.service.neomedia.QualityControl getQualityControl(CallPeer peer)
peer
- the peer which this control operates on.ConferenceMember getConferenceMember(CallPeer peer, java.awt.Component visualComponent)
peer
- the CallPeer which is the conference focus of the
telephony conference to be examined in order to locate the
ConferenceMember which is sending the video content/RTP stream
displayed in the specified visualComponentvisualComponent
- the visual Component which displays the
video content/RTP stream of the ConferenceMember to be located
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.