diff options
author | Emil Ivov <emcho@jitsi.org> | 2010-10-21 21:17:15 +0000 |
---|---|---|
committer | Emil Ivov <emcho@jitsi.org> | 2010-10-21 21:17:15 +0000 |
commit | 89527c397160f5fc41df24c250f0ddd02b2c0e02 (patch) | |
tree | ecd7b6f6efa4a7f30a4aa3aa6317944f1feb924d | |
parent | 5b97785916d486f6c92fdc1a241e024748c66fb1 (diff) | |
download | jitsi-89527c397160f5fc41df24c250f0ddd02b2c0e02.zip jitsi-89527c397160f5fc41df24c250f0ddd02b2c0e02.tar.gz jitsi-89527c397160f5fc41df24c250f0ddd02b2c0e02.tar.bz2 |
Fixes issue #871: Early media seems not to work in some cases, by making sure we start the media handler when handling 'Session Progress' responses
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/sip/CallPeerSipImpl.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/sip/CallPeerSipImpl.java b/src/net/java/sip/communicator/impl/protocol/sip/CallPeerSipImpl.java index 6349da5..db8e6d9 100644 --- a/src/net/java/sip/communicator/impl/protocol/sip/CallPeerSipImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/sip/CallPeerSipImpl.java @@ -557,6 +557,8 @@ public class CallPeerSipImpl // as its connected, set initial mute status, // corresponding call status + // this would also unmute calls that were previously mute because + // of early media. if(isMute() != this.getCall().isMute()) setMute(this.getCall().isMute()); } @@ -606,8 +608,13 @@ public class CallPeerSipImpl return; } - // change status + //change status setState(CallPeerState.CONNECTING_WITH_EARLY_MEDIA); + getMediaHandler().start(); + + // set the call on mute. we don't want the user to be heard unless they + //know they are. + setMute(true); } /** |