|
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<OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl,CallJabberImpl,CallPeerJabberImpl>
net.java.sip.communicator.impl.protocol.jabber.OperationSetVideoTelephonyJabberImpl
net.java.sip.communicator.impl.protocol.jabber.OperationSetDesktopStreamingJabberImpl
public class OperationSetDesktopStreamingJabberImpl
Implements all desktop streaming related functions for XMPP.
| Field Summary | |
|---|---|
protected Point |
origin
Origin (x, y) of the zone streamed. |
protected Dimension |
size
Video panel size. |
| 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 | |
|---|---|
OperationSetDesktopStreamingJabberImpl(OperationSetBasicTelephonyJabberImpl basicTelephony)
Initializes a new OperationSetDesktopStreamingJabberImpl instance which builds upon the telephony-related functionality of a specific OperationSetBasicTelephonyJabberImpl. |
|
| Method Summary | |
|---|---|
protected Call |
createOutgoingVideoCall(String calleeAddress,
MediaDevice videoDevice)
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(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. |
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.jabber.OperationSetVideoTelephonyJabberImpl |
|---|
answerVideoCallPeer, createOutgoingVideoCall, getQualityControl |
| Methods inherited from class net.java.sip.communicator.service.protocol.media.AbstractOperationSetVideoTelephony |
|---|
addPropertyChangeListener, addVideoListener, createLocalVisualComponent, createVideoCall, createVideoCall, 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 OperationSetDesktopStreamingJabberImpl(OperationSetBasicTelephonyJabberImpl basicTelephony)
basicTelephony - the OperationSetBasicTelephonyJabberImpl
the new extension should build upon| Method Detail |
|---|
public MediaUseCase getMediaUseCase()
getMediaUseCase in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl,CallJabberImpl,CallPeerJabberImpl>
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 Jabber 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
createVideoCall in interface OperationSetVideoTelephonycreateVideoCall in class OperationSetVideoTelephonyJabberImpluri - 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
createVideoCall in interface OperationSetVideoTelephonycreateVideoCall in class OperationSetVideoTelephonyJabberImplcallee - 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 OperationSetVideoTelephonyJabberImplcall - 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 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 streaming.
If the device is null, the default device is used.allowed - true to allow the streaming of local video for
the specified Call; false to disallow it
OperationFailedException - if initializing local video fails.public boolean isLocalVideoAllowed(Call call)
isLocalVideoAllowed in interface OperationSetVideoTelephonyisLocalVideoAllowed in class AbstractOperationSetVideoTelephony<OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl,CallJabberImpl,CallPeerJabberImpl>call - the Call whose video transmission properties we are
interested in.
protected Call createOutgoingVideoCall(String calleeAddress,
MediaDevice videoDevice)
throws OperationFailedException
calleeAddress - Contact addressvideoDevice - MediaDevice used
OperationFailedException - with the corresponding code if we fail
to create the video call.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 originprotected 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 | |||||||||