public class OperationSetVideoTelephonySipImpl extends AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
basicTelephony, parentProvider
LOCAL_VIDEO_STREAMING
Constructor and Description |
---|
OperationSetVideoTelephonySipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
Initializes a new OperationSetVideoTelephonySipImpl instance
which builds upon the telephony-related functionality of a specific
OperationSetBasicTelephonySipImpl.
|
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.
|
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.
|
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, getConferenceMember, getLocalVisualComponent, getMediaUseCase, getVisualComponent, getVisualComponents, isLocalVideoAllowed, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener
public OperationSetVideoTelephonySipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
basicTelephony
- the OperationSetBasicTelephonySipImpl
the new extension should build uponpublic void setLocalVideoAllowed(Call call, boolean allowed) throws OperationFailedException
setLocalVideoAllowed
in interface OperationSetVideoTelephony
setLocalVideoAllowed
in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
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, 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.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.public Call createVideoCall(java.lang.String uri, org.jitsi.service.neomedia.QualityPreset qualityPreferences) throws OperationFailedException, java.text.ParseException
createVideoCall
in interface OperationSetVideoTelephony
createVideoCall
in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
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.public Call createVideoCall(Contact callee, org.jitsi.service.neomedia.QualityPreset qualityPreferences) throws OperationFailedException
createVideoCall
in interface OperationSetVideoTelephony
createVideoCall
in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
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.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<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
peer
- the peer which this control operates on.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.