|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.media.AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl
public class OperationSetVideoTelephonySipImpl
Implements OperationSetVideoTelephony in order to give access to video-specific functionality in the SIP protocol implementation such as visual Components displaying video and listening to dynamic availability of such Components. Because the video in the SIP protocol implementation is provided by the CallSession, this OperationSetVideoTelephony just delegates to the CallSession while hiding the CallSession as the provider of the video and pretending this OperationSetVideoTelephony is the provider because other implementation may not provider their video through the CallSession.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.protocol.media.AbstractOperationSetVideoTelephony |
|---|
basicTelephony, parentProvider |
| Fields inherited from interface net.java.sip.communicator.service.protocol.OperationSetVideoTelephony |
|---|
LOCAL_VIDEO_STREAMING |
| Constructor Summary | |
|---|---|
OperationSetVideoTelephonySipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
Initializes a new OperationSetVideoTelephonySipImpl instance which builds upon the telephony-related functionality of a specific OperationSetBasicTelephonySipImpl. |
|
| Method Summary | |
|---|---|
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,
QualityPreset qualityPreferences)
Create a new video call and invite the specified CallPeer to it. |
Call |
createVideoCall(String uri)
Create a new video call and invite the specified CallPeer to it. |
Call |
createVideoCall(String uri,
QualityPreset qualityPreferences)
Create a new video call and invite the specified CallPeer to it. |
QualityControl |
getQualityControl(CallPeer peer)
Returns the quality control for video calls if any. |
void |
setLocalVideoAllowed(Call call,
boolean allowed)
Implements OperationSetVideoTelephony#setLocalVideoAllowed(Call, boolean). |
| Methods inherited from class net.java.sip.communicator.service.protocol.media.AbstractOperationSetVideoTelephony |
|---|
addPropertyChangeListener, addVideoListener, createLocalVisualComponent, disposeLocalVisualComponent, getMediaUseCase, getVisualComponent, getVisualComponents, isLocalVideoAllowed, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationSetVideoTelephonySipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
basicTelephony - the OperationSetBasicTelephonySipImpl
the new extension should build upon| Method Detail |
|---|
public void setLocalVideoAllowed(Call call,
boolean allowed)
throws OperationFailedException
setLocalVideoAllowed in interface OperationSetVideoTelephonysetLocalVideoAllowed 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(String uri)
throws OperationFailedException,
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.
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(String uri,
QualityPreset qualityPreferences)
throws OperationFailedException,
ParseException
createVideoCall in interface OperationSetVideoTelephonycreateVideoCall 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.
ParseException - if callee is not a valid sip address
string.
public Call createVideoCall(Contact callee,
QualityPreset qualityPreferences)
throws OperationFailedException
createVideoCall in interface OperationSetVideoTelephonycreateVideoCall 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 QualityControl getQualityControl(CallPeer peer)
getQualityControl in interface OperationSetVideoTelephonygetQualityControl in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>peer - the peer which this control operates on.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||