From 84b528c9418f89fcb359300638ad40f9f619b98c Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 5 Feb 2015 15:34:52 +0200 Subject: Adds custom header to indicate screen sharing initiated calls. --- .../service/protocol/event/CallEvent.java | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/net/java/sip/communicator/service') 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. -- cgit v1.1