|
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
net.java.sip.communicator.impl.protocol.sip.OperationSetDesktopStreamingSipImpl
public class OperationSetDesktopStreamingSipImpl
Implements all desktop streaming related functions for SIP.
| Field Summary | |
|---|---|
protected Point |
origin
Origin (x, y) of the zone streamed. |
protected Dimension |
size
Dimension of the local desktop streamed. |
| 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 | |
|---|---|
OperationSetDesktopStreamingSipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
Initializes a new OperationSetDesktopStreamingSipImpl instance which builds upon the telephony-related functionality of a specific OperationSetBasicTelephonySipImpl. |
|
| Method Summary | |
|---|---|
Call |
createVideoCall(Contact callee)
Create a new video call and invite the specified CallPeer to it. |
Call |
createVideoCall(Contact callee,
MediaDevice mediaDevice)
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,
MediaDevice mediaDevice)
Create a new video call and invite the specified CallPeer to it. |
MediaUseCase |
getMediaUseCase()
Get the MediaUseCase of a desktop streaming operation set. |
Point |
getOrigin()
Get origin of streamed zone. |
protected static Point |
getOriginForMediaDevice(MediaDevice device)
Get origin of the screen. |
boolean |
isLocalVideoAllowed(Call call)
Implements OperationSetVideoTelephony#isLocalVideoAllowed(Call). |
boolean |
isPartialStreaming(Call call)
If the streaming is partial (not the full desktop). |
void |
movePartialDesktopStreaming(Call call,
int x,
int y)
Move origin of a partial desktop streaming. |
void |
setLocalVideoAllowed(Call call,
boolean allowed)
Implements OperationSetVideoTelephony#setLocalVideoAllowed(Call, boolean). |
void |
setLocalVideoAllowed(Call call,
MediaDevice mediaDevice,
boolean allowed)
Sets the indicator which determines whether the streaming of local video in a specific Call is allowed. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl |
|---|
answerVideoCallPeer, createVideoCall, createVideoCall, getQualityControl |
| Methods inherited from class net.java.sip.communicator.service.protocol.media.AbstractOperationSetVideoTelephony |
|---|
addPropertyChangeListener, addVideoListener, createLocalVisualComponent, disposeLocalVisualComponent, getVisualComponent, getVisualComponents, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.protocol.OperationSetVideoTelephony |
|---|
addPropertyChangeListener, addVideoListener, answerVideoCallPeer, createLocalVisualComponent, createVideoCall, createVideoCall, disposeLocalVisualComponent, getQualityControl, getVisualComponent, getVisualComponents, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener |
| Field Detail |
|---|
protected Dimension size
protected Point origin
| Constructor Detail |
|---|
public OperationSetDesktopStreamingSipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
basicTelephony - the OperationSetBasicTelephonySipImpl the
new extension should build upon| Method Detail |
|---|
public MediaUseCase getMediaUseCase()
getMediaUseCase in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>
public Call createVideoCall(String uri,
MediaDevice mediaDevice)
throws OperationFailedException,
ParseException
createVideoCall in interface OperationSetDesktopStreaminguri - the address of the callee that we should invite to a new
call.mediaDevice - the media device to use for the desktop streaming
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,
MediaDevice mediaDevice)
throws OperationFailedException
createVideoCall in interface OperationSetDesktopStreamingcallee - the address of the callee that we should invite to a new
call.mediaDevice - the media device to use for the desktop streaming
OperationFailedException - with the corresponding code if we fail
to create the video call.
public Call createVideoCall(String uri)
throws OperationFailedException,
ParseException
createVideoCall in interface OperationSetVideoTelephonycreateVideoCall in class OperationSetVideoTelephonySipImpluri - 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
createVideoCall in interface OperationSetVideoTelephonycreateVideoCall in class OperationSetVideoTelephonySipImplcallee - 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 void setLocalVideoAllowed(Call call,
boolean allowed)
throws OperationFailedException
setLocalVideoAllowed in interface OperationSetVideoTelephonysetLocalVideoAllowed in class OperationSetVideoTelephonySipImplcall - 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 boolean isLocalVideoAllowed(Call call)
isLocalVideoAllowed in interface OperationSetVideoTelephonyisLocalVideoAllowed in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl,CallSipImpl,CallPeerSipImpl>call - the Call whose video transmission properties we are
interested in.
public void setLocalVideoAllowed(Call call,
MediaDevice mediaDevice,
boolean allowed)
throws OperationFailedException
setLocalVideoAllowed in interface OperationSetDesktopStreamingcall - the Call to allow/disallow the streaming of local
video formediaDevice - the media device to use for the desktop streamingallowed - true to allow the streaming of local video for
the specified Call; false to disallow it
OperationFailedException - if initializing local video fails.public boolean isPartialStreaming(Call call)
isPartialStreaming in interface OperationSetDesktopStreamingcall - the Call whose video transmission properties we are
interested in.
public void movePartialDesktopStreaming(Call call,
int x,
int y)
movePartialDesktopStreaming in interface OperationSetDesktopStreamingcall - the Call whose video transmission properties we are
interested in.x - new x coordinate originy - new y coordinate originpublic Point getOrigin()
protected static Point getOriginForMediaDevice(MediaDevice device)
device - media device
|
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 | |||||||||