|
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
net.java.sip.communicator.impl.protocol.jabber.OperationSetDesktopSharingServerJabberImpl
public class OperationSetDesktopSharingServerJabberImpl
Implements all desktop sharing server-side related functions for Jabber protocol.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.OperationSetDesktopStreamingJabberImpl |
|---|
origin, 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 | |
|---|---|
OperationSetDesktopSharingServerJabberImpl(OperationSetBasicTelephonyJabberImpl basicTelephony)
Initializes a new OperationSetDesktopSharingJabberImpl instance which builds upon the telephony-related functionality of a specific OperationSetBasicTelephonyJabberImpl. |
|
| Method Summary | |
|---|---|
boolean |
accept(org.jivesoftware.smack.packet.Packet packet)
Tests whether or not the specified packet should be handled by this operation set. |
protected Call |
createOutgoingVideoCall(String calleeAddress)
Check if the remote part supports Jingle video. |
protected Call |
createOutgoingVideoCall(String calleeAddress,
MediaDevice videoDevice)
Check if the remote part supports Jingle video. |
Call |
createVideoCall(Contact callee,
MediaDevice device)
Create a new video call and invite the specified CallPeer to it. |
Call |
createVideoCall(String uri,
MediaDevice device)
Create a new video call and invite the specified CallPeer to it. |
void |
disableRemoteControl(CallPeer callPeer)
Disable desktop remote control. |
void |
enableRemoteControl(CallPeer callPeer)
Enable desktop remote control. |
void |
processComponentEvent(ComponentEvent event)
Process an ComponentEvent received from remote peer. |
void |
processKeyboardEvent(KeyEvent event)
Process keyboard notification received from remote peer. |
void |
processMouseEvent(MouseEvent event)
Process mouse notification received from remote peer. |
void |
processPacket(org.jivesoftware.smack.packet.Packet packet)
Handles incoming inputevt packets and passes them to the corresponding method based on their action. |
void |
registrationStateChanged(RegistrationStateChangeEvent evt)
Implementation of method registrationStateChange from interface RegistrationStateChangeListener for setting up (or down) our InputEvtManager when an XMPPConnection is available |
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.OperationSetDesktopStreamingJabberImpl |
|---|
createVideoCall, createVideoCall, getMediaUseCase, getOriginForMediaDevice, isLocalVideoAllowed, isPartialStreaming, movePartialDesktopStreaming |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.OperationSetVideoTelephonyJabberImpl |
|---|
answerVideoCallPeer, 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.OperationSetDesktopStreaming |
|---|
isPartialStreaming, movePartialDesktopStreaming |
| Methods inherited from interface net.java.sip.communicator.service.protocol.OperationSetVideoTelephony |
|---|
addPropertyChangeListener, addVideoListener, answerVideoCallPeer, createLocalVisualComponent, createVideoCall, createVideoCall, createVideoCall, createVideoCall, disposeLocalVisualComponent, getQualityControl, getVisualComponent, getVisualComponents, isLocalVideoAllowed, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener |
| Constructor Detail |
|---|
public OperationSetDesktopSharingServerJabberImpl(OperationSetBasicTelephonyJabberImpl basicTelephony)
basicTelephony - the OperationSetBasicTelephonyJabberImpl
the new extension should build upon| Method Detail |
|---|
public Call createVideoCall(String uri,
MediaDevice device)
throws OperationFailedException,
ParseException
createVideoCall in interface OperationSetDesktopStreamingcreateVideoCall in class OperationSetDesktopStreamingJabberImpluri - the address of the callee that we should invite to a new
call.device - video device that will be used to stream desktop.
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 device)
throws OperationFailedException
createVideoCall in interface OperationSetDesktopStreamingcreateVideoCall in class OperationSetDesktopStreamingJabberImplcallee - the address of the callee that we should invite to a new
call.device - video device that will be used to stream desktop.
OperationFailedException - with the corresponding code if we fail
to create the video call.
protected Call createOutgoingVideoCall(String calleeAddress)
throws OperationFailedException
createOutgoingVideoCall in class OperationSetVideoTelephonyJabberImplcalleeAddress - Contact address
OperationFailedException - with the corresponding code if we fail
to create the video call.
protected Call createOutgoingVideoCall(String calleeAddress,
MediaDevice videoDevice)
throws OperationFailedException
createOutgoingVideoCall in class OperationSetDesktopStreamingJabberImplcalleeAddress - Contact addressvideoDevice - specific video device to use (null to use default
device)
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 OperationSetDesktopStreamingJabberImplcall - 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 OperationSetDesktopStreamingsetLocalVideoAllowed in class OperationSetDesktopStreamingJabberImplcall - 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 void enableRemoteControl(CallPeer callPeer)
enableRemoteControl in interface OperationSetDesktopSharingServercallPeer - call peer that will take control on local computerpublic void disableRemoteControl(CallPeer callPeer)
disableRemoteControl in interface OperationSetDesktopSharingServercallPeer - call peer that will stop controlling on local computerpublic void registrationStateChanged(RegistrationStateChangeEvent evt)
registrationStateChanged in interface RegistrationStateChangeListenerevt - the event receivedpublic void processPacket(org.jivesoftware.smack.packet.Packet packet)
processPacket in interface org.jivesoftware.smack.PacketListenerpacket - the packet to process.public boolean accept(org.jivesoftware.smack.packet.Packet packet)
accept in interface org.jivesoftware.smack.filter.PacketFilterpacket - the packet to test.
public void processComponentEvent(ComponentEvent event)
event - ComponentEvent that will be regenerated on local
computerpublic void processKeyboardEvent(KeyEvent event)
processKeyboardEvent in interface OperationSetDesktopSharingServerevent - KeyboardEvent that will be regenerated on local
computerpublic void processMouseEvent(MouseEvent event)
processMouseEvent in interface OperationSetDesktopSharingServerevent - MouseEvent that will be regenerated on local
computer
|
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 | |||||||||