public class OperationSetDesktopSharingServerSipImpl extends OperationSetDesktopStreamingSipImpl implements OperationSetDesktopSharingServer, MethodProcessorListener
origin, size
basicTelephony
LOCAL_VIDEO_STREAMING
Constructor and Description |
---|
OperationSetDesktopSharingServerSipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
Initializes a new OperationSetDesktopSharingSipImpl instance
which builds upon the telephony-related functionality of a specific
OperationSetBasicTelephonySipImpl.
|
Modifier and Type | Method and Description |
---|---|
Call |
createVideoCall(Contact callee,
org.jitsi.service.neomedia.device.MediaDevice device)
Create a new video call and invite the specified CallPeer to it.
|
Call |
createVideoCall(java.lang.String uri,
org.jitsi.service.neomedia.device.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.
|
boolean |
isRemoteControlAvailable(CallPeer callPeer)
Tells if the peer provided can be remotely controlled by this peer:
- The server is able to grant/revoke remote access to its desktop.
|
void |
processKeyboardEvent(java.awt.event.KeyEvent event)
Process keyboard notification received from remote peer.
|
void |
processMouseEvent(java.awt.event.MouseEvent event)
Process mouse notification received from remote peer.
|
void |
requestProcessed(CallPeerSipImpl sourceCallPeer,
javax.sip.message.Request request,
javax.sip.message.Response response)
Notifies this MethodProcessorListener that a specific
CallPeer has processed a specific SIP Request and has
replied to it with a specific SIP Response.
|
void |
responseProcessed(CallPeerSipImpl sourceCallPeer,
javax.sip.message.Response response,
javax.sip.message.Request request)
Notifies this MethodProcessorListener that a specific
CallPeer has processed a specific SIP Response and has
replied to it with a specific SIP Request.
|
addDesktopShareHeader, createVideoCall, createVideoCall, getMediaUseCase, getOrigin, getOriginForMediaDevice, isLocalVideoAllowed, isPartialStreaming, movePartialDesktopStreaming, setLocalVideoAllowed, setLocalVideoAllowed
answerVideoCallPeer, createVideoCall, createVideoCall, getQualityControl
addPropertyChangeListener, addVideoListener, getConferenceMember, getLocalVisualComponent, getVisualComponent, getVisualComponents, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPartialStreaming, movePartialDesktopStreaming, setLocalVideoAllowed
addPropertyChangeListener, addVideoListener, answerVideoCallPeer, createVideoCall, createVideoCall, createVideoCall, createVideoCall, getConferenceMember, getLocalVisualComponent, getQualityControl, getVisualComponent, getVisualComponents, isLocalVideoAllowed, isLocalVideoStreaming, removePropertyChangeListener, removeVideoListener, setLocalVideoAllowed
public OperationSetDesktopSharingServerSipImpl(OperationSetBasicTelephonySipImpl basicTelephony)
basicTelephony
- the OperationSetBasicTelephonySipImpl
the new extension should build uponpublic Call createVideoCall(java.lang.String uri, org.jitsi.service.neomedia.device.MediaDevice device) throws OperationFailedException, java.text.ParseException
createVideoCall
in interface OperationSetDesktopStreaming
createVideoCall
in class OperationSetDesktopStreamingSipImpl
uri
- the address of the callee that we should invite to a new
call.device
- MediaDevice to use for this callOperationFailedException
- 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.device.MediaDevice device) throws OperationFailedException
createVideoCall
in interface OperationSetDesktopStreaming
createVideoCall
in class OperationSetDesktopStreamingSipImpl
callee
- the address of the callee that we should invite to a new
call.device
- MediaDevice to use for this callOperationFailedException
- with the corresponding code if we fail
to create the video call.public void enableRemoteControl(CallPeer callPeer)
enableRemoteControl
in interface OperationSetDesktopSharingServer
callPeer
- call peer that will take control on local computerpublic void disableRemoteControl(CallPeer callPeer)
disableRemoteControl
in interface OperationSetDesktopSharingServer
callPeer
- call peer that will stop controlling on local computerpublic void requestProcessed(CallPeerSipImpl sourceCallPeer, javax.sip.message.Request request, javax.sip.message.Response response)
requestProcessed
in interface MethodProcessorListener
sourceCallPeer
- the CallPeer which has processed the
specified SIP Requestrequest
- the SIP Request which has been processed by
sourceCallPeerresponse
- the SIP Response sent by sourceCallPeer
as a reply to the specified SIP requestMethodProcessorListener.requestProcessed(CallPeerSipImpl, Request,
Response)
public void responseProcessed(CallPeerSipImpl sourceCallPeer, javax.sip.message.Response response, javax.sip.message.Request request)
responseProcessed
in interface MethodProcessorListener
sourceCallPeer
- the CallPeer which has processed the
specified SIP Responseresponse
- the SIP Response which has been processed by
sourceCallPeerrequest
- the SIP Request sent by sourceCallPeer
as a reply to the specified SIP responseMethodProcessorListener.responseProcessed(CallPeerSipImpl, Response,
Request)
public void processKeyboardEvent(java.awt.event.KeyEvent event)
processKeyboardEvent
in interface OperationSetDesktopSharingServer
event
- KeyboardEvent that will be regenerated on
local computerpublic void processMouseEvent(java.awt.event.MouseEvent event)
processMouseEvent
in interface OperationSetDesktopSharingServer
event
- MouseEvent that will be regenerated on local
computerpublic boolean isRemoteControlAvailable(CallPeer callPeer)
isRemoteControlAvailable
in interface OperationSetDesktopSharingServer
callPeer
- The call peer which may remotely control the shared
desktop.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.