public class OperationSetVideoTelephonyJabberImpl extends AbstractOperationSetVideoTelephony<OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl,CallJabberImpl,CallPeerJabberImpl>
basicTelephony, parentProvider
LOCAL_VIDEO_STREAMING
Constructor and Description |
---|
OperationSetVideoTelephonyJabberImpl(OperationSetBasicTelephonyJabberImpl basicTelephony)
Initializes a new OperationSetVideoTelephonyJabberImpl instance
which builds upon the telephony-related functionality of a specific
OperationSetBasicTelephonyJabberImpl.
|
Modifier and Type | Method and Description |
---|---|
void |
answerVideoCallPeer(CallPeer peer)
Indicates a user request to answer an incoming call with video enabled
from the specified CallPeer.
|
protected Call |
createOutgoingVideoCall(java.lang.String calleeAddress)
Check if the remote part supports Jingle video.
|
Call |
createVideoCall(Contact callee)
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.
|
org.jitsi.service.neomedia.QualityControl |
getQualityControl(CallPeer peer)
Returns the quality control for video calls if any.
|
void |
setLocalVideoAllowed(Call call,
boolean allowed)
Implements OperationSetVideoTelephony#setLocalVideoAllowed(Call,
boolean).
|
addPropertyChangeListener, addVideoListener, createVideoCall, createVideoCall, getConferenceMember, getLocalVisualComponent, getMediaUseCase, getVisualComponent, getVisualComponents, isLocalVideoAllowed, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener
public OperationSetVideoTelephonyJabberImpl(OperationSetBasicTelephonyJabberImpl basicTelephony)
basicTelephony
- the OperationSetBasicTelephonyJabberImpl
the new extension should build uponpublic void setLocalVideoAllowed(Call call, boolean allowed) throws OperationFailedException
setLocalVideoAllowed
in interface OperationSetVideoTelephony
setLocalVideoAllowed
in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl,CallJabberImpl,CallPeerJabberImpl>
call
- the call where we'd like to allow sending local video.allowed
- true if local video transmission is allowed and
false otherwise.OperationFailedException
- if video initialization fails.public Call createVideoCall(java.lang.String uri) throws OperationFailedException
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.public 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.protected Call createOutgoingVideoCall(java.lang.String calleeAddress) throws OperationFailedException
calleeAddress
- Contact addressOperationFailedException
- with the corresponding code if we fail
to create the video call.public 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.public org.jitsi.service.neomedia.QualityControl getQualityControl(CallPeer peer)
getQualityControl
in interface OperationSetVideoTelephony
getQualityControl
in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl,CallJabberImpl,CallPeerJabberImpl>
peer
- the peer which this control operates on.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.