aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2015-02-05 15:34:52 +0200
committerDamian Minkov <damencho@jitsi.org>2015-02-10 13:01:54 +0200
commit84b528c9418f89fcb359300638ad40f9f619b98c (patch)
tree9e788dcd92db44e832b915e4d06a7ef69cc8a37a /src/net/java/sip/communicator/service
parente25de5721762b8d08c4ff75584e8f46a138aaa49 (diff)
downloadjitsi-84b528c9418f89fcb359300638ad40f9f619b98c.zip
jitsi-84b528c9418f89fcb359300638ad40f9f619b98c.tar.gz
jitsi-84b528c9418f89fcb359300638ad40f9f619b98c.tar.bz2
Adds custom header to indicate screen sharing initiated calls.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/protocol/event/CallEvent.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/event/CallEvent.java b/src/net/java/sip/communicator/service/protocol/event/CallEvent.java
index d625082..6b3ec21 100644
--- a/src/net/java/sip/communicator/service/protocol/event/CallEvent.java
+++ b/src/net/java/sip/communicator/service/protocol/event/CallEvent.java
@@ -65,6 +65,12 @@ public class CallEvent
private final CallConference conference;
/**
+ * Indicate whether the call is recognized to be video call and
+ * desktop streaming call.
+ */
+ private boolean isDesktopStreaming = false;
+
+ /**
* Creates an event instance indicating that an incoming/outgoing call
* has been created
*
@@ -175,6 +181,25 @@ public class CallEvent
}
/**
+ * Returns whether the current event is for video call and desktop streaming
+ * one.
+ * @return true if this is video call and desktop streaming one.
+ */
+ public boolean isDesktopStreaming()
+ {
+ return isDesktopStreaming;
+ }
+
+ /**
+ * Change the desktop streaming indication for this event.
+ * @param value the new value.
+ */
+ public void setDesktopStreaming(boolean value)
+ {
+ this.isDesktopStreaming = value;
+ }
+
+ /**
* Returns a String representation of this CallEvent.
*
* @return A a String representation of this CallEvent.