diff options
author | Emil Ivov <emcho@jitsi.org> | 2006-10-23 16:22:36 +0000 |
---|---|---|
committer | Emil Ivov <emcho@jitsi.org> | 2006-10-23 16:22:36 +0000 |
commit | 401183d67d9376d2916eccb4f2b18161251d4eb7 (patch) | |
tree | 0a8db0e93f6f5b751933ac26386ac5b24a2ec557 /src | |
parent | 0d9fb0f5e1c25368bf236425940675d437d68419 (diff) | |
download | jitsi-401183d67d9376d2916eccb4f2b18161251d4eb7.zip jitsi-401183d67d9376d2916eccb4f2b18161251d4eb7.tar.gz jitsi-401183d67d9376d2916eccb4f2b18161251d4eb7.tar.bz2 |
Working on the JMF implementation of the media service.
store the media call session instance corresponding to this call
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/sip/CallSipImpl.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/sip/CallSipImpl.java b/src/net/java/sip/communicator/impl/protocol/sip/CallSipImpl.java index 4df1fec..5947410 100644 --- a/src/net/java/sip/communicator/impl/protocol/sip/CallSipImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/sip/CallSipImpl.java @@ -12,6 +12,7 @@ import javax.sip.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.service.protocol.event.*; import net.java.sip.communicator.util.*; +import net.java.sip.communicator.service.media.*; /** * A SIP implementation of the Call abstract class encapsulating SIP dialogs. @@ -34,6 +35,12 @@ public class CallSipImpl private CallState callState = CallState.CALL_INITIALIZATION; /** + * The <tt>CallSession</tt> that the media service has created for this + * call. + */ + private CallSession mediaCallSession = null; + + /** * Crates a CallSipImpl instance belonging to <tt>sourceProvider</tt> and * initiated by <tt>CallCreator</tt>. * @@ -161,6 +168,17 @@ public class CallSipImpl * * @param evt unused. */ + public void participantTransportAddressChanged( + CallParticipantChangeEvent evt) + {} + + + /** + * Dummy implementation of a method (inherited from CallParticipantListener) + * that we don't need. + * + * @param evt unused. + */ public void participantDisplayNameChanged(CallParticipantChangeEvent evt) {} @@ -242,4 +260,30 @@ public class CallSipImpl return null; } + + /** + * Sets the <tt>CallSession</tt> that the media service has created for this + * call. + * + * @param callSession the <tt>CallSession</tt> that the media service has + * created for this call. + */ + public void setMediaCallSession(CallSession callSession) + { + this.mediaCallSession = callSession; + } + + /** + * Sets the <tt>CallSession</tt> that the media service has created for this + * call. + * + * @return the <tt>CallSession</tt> that the media service has + * created for this call or null if no call session has been created so + * far. + */ + public CallSession getMediaCallSession() + { + return this.mediaCallSession; + } + } |