2 new revisions:

Revision: b2b2054482a1
Author:   Jean Deruelle <[email protected]>
Date:     Wed Jul 10 13:30:35 2013
Log:      Update Issue 174...
http://code.google.com/p/sipservlets/source/detail?r=b2b2054482a1

Revision: c7870deca117
Author:   Jean Deruelle <[email protected]>
Date:     Wed Jul 10 14:33:33 2013
Log:      Update Issue 174...
http://code.google.com/p/sipservlets/source/detail?r=c7870deca117

==============================================================================
Revision: b2b2054482a1
Author:   Jean Deruelle <[email protected]>
Date:     Wed Jul 10 13:30:35 2013
Log:      Update Issue 174

Backport to master

fixes for ringing
(cherry picked from commit 2cbe47a18b8e65076f11ece10bbd75ce2b46f2f1)

http://code.google.com/p/sipservlets/source/detail?r=b2b2054482a1

Modified:
/sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js

=======================================
--- /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js Wed Jul 10 10:32:58 2013 +++ /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js Wed Jul 10 13:30:35 2013
@@ -751,11 +751,11 @@
 }

 /**
- * Implementation of the WebRtcCommCall listener interface
+ * Implementation of the webRTCommCall listener interface
  */
-MobicentsWebRTCPhoneController.prototype.onWebRTCommCallClosedEvent=function(webRtcCommCall)
+MobicentsWebRTCPhoneController.prototype.onWebRTCommCallClosedEvent=function(webRTCommCall)
 {
- console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallClosedEvent(): webRtcCommCall.getId()="+webRtcCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallClosedEvent(): webRTCommCall.getId()="+webRTCommCall.getId());

     //Enabled button DISCONECT, CALL
     this.view.enableCallButton();
@@ -773,11 +773,11 @@


 /**
- * Implementation of the WebRtcCommCall listener interface
+ * Implementation of the webRTCommCall listener interface
  */
-MobicentsWebRTCPhoneController.prototype.onWebRTCommCallOpenedEvent=function(webRtcCommCall)
+MobicentsWebRTCPhoneController.prototype.onWebRTCommCallOpenedEvent=function(webRTCommCall)
 {
- console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallOpenedEvent(): webRtcCommCall.getId()="+webRtcCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallOpenedEvent(): webRTCommCall.getId()="+webRTCommCall.getId());

     this.view.stopRinging();
     this.view.disableCallButton();
@@ -809,22 +809,22 @@
 }

 /**
- * Implementation of the WebRtcCommCall listener interface
+ * Implementation of the webRTCommCall listener interface
  */
-MobicentsWebRTCPhoneController.prototype.onWebRTCommCallInProgressEvent=function(webRtcCommCall)
+MobicentsWebRTCPhoneController.prototype.onWebRTCommCallInProgressEvent=function(webRTCommCall)
 {
- console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallInProgressEvent(): webRtcCommCall.getId()="+webRtcCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallInProgressEvent(): webRTCommCall.getId()="+webRTCommCall.getId());

     modal_alert("Communication in progress");
 }


 /**
- * Implementation of the WebRtcCommCall listener interface
+ * Implementation of the webRTCommCall listener interface
  */
-MobicentsWebRTCPhoneController.prototype.onWebRTCommCallOpenErrorEvent=function(webRtcCommCall, error) +MobicentsWebRTCPhoneController.prototype.onWebRTCommCallOpenErrorEvent=function(webRTCommCall, error)
 {
- console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallOpenErrorEvent(): webRtcCommCall.getId()="+webRtcCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallOpenErrorEvent(): webRTCommCall.getId()="+webRTCommCall.getId());

     //Enabled button DISCONECT, CALL
     this.view.enableCallButton();
@@ -841,11 +841,11 @@
 }

 /**
- * Implementation of the WebRtcCommCall listener interface
+ * Implementation of the webRTCommCall listener interface
  */
-MobicentsWebRTCPhoneController.prototype.onWebRTCommCallRingingEvent=function(webRtcCommCall)
+MobicentsWebRTCPhoneController.prototype.onWebRTCommCallRingingEvent=function(webRTCommCall)
 {
- console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallRingingEvent(): webRtcCommCall.getId()="+webRtcCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallRingingEvent(): webRTCommCall.getId()="+webRTCommCall.getId());
     this.webRTCommCall=webRTCommCall;
     this.view.playRinging();
     this.view.disableCallButton();
@@ -854,17 +854,17 @@
     this.view.disableConnectButton();
     //this.view.disableSendMessageButton();
     //this.view.disableCancelCallButton();
- show_desktop_notification("Incoming Call from " + webRtcCommCall.getCallerPhoneNumber()); - $("#call_message").html("<p>Incoming Call from " + webRtcCommCall.getCallerPhoneNumber() +"</p>"); + show_desktop_notification("Incoming Call from " + webRTCommCall.getCallerPhoneNumber()); + $("#call_message").html("<p>Incoming Call from " + webRTCommCall.getCallerPhoneNumber() +"</p>");
      $('#callModal').modal();
 }

 /**
- * Implementation of the WebRtcCommCall listener interface
+ * Implementation of the webRTCommCall listener interface
  */
-MobicentsWebRTCPhoneController.prototype.onWebRTCommCallRingingBackEvent=function(webRtcCommCall)
+MobicentsWebRTCPhoneController.prototype.onWebRTCommCallRingingBackEvent=function(webRTCommCall)
 {
- console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallRingingBackEvent(): webRtcCommCall.getId()="+webRtcCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallRingingBackEvent(): webRTCommCall.getId()="+webRTCommCall.getId());
     this.view.playRinging();
     this.view.disableCallButton();
     this.view.disableDisconnectButton();
@@ -877,9 +877,9 @@
 /**
  * Implementation of the WebRTCommCall listener interface
  */
-WebRTCommTestWebAppController.prototype.onWebRTCommCallHangupEvent=function(webRTCommCall)
+MobicentsWebRTCPhoneController.prototype.onWebRTCommCallHangupEvent=function(webRTCommCall)
 {
- console.debug ("WebRTCommTestWebAppController:onWebRTCommCallHangupEvent(): webRTCommCall.getId()="+webRTCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallHangupEvent(): webRTCommCall.getId()="+webRTCommCall.getId());
     //Enabled button DISCONECT, CALL
     this.view.enableCallButton();
     this.view.enableDisconnectButton();
@@ -904,9 +904,9 @@
 /**
  * Implementation of the WebRTCommCall listener interface
  */
-WebRTCommTestWebAppController.prototype.onWebRTCommCallMessageEvent=function(webRTCommCall, message) +MobicentsWebRTCPhoneController.prototype.onWebRTCommCallMessageEvent=function(webRTCommCall, message)
 {
- console.debug ("WebRTCommTestWebAppController:onWebRTCommCallMessageEvent(): webRTCommCall.getId()="+webRTCommCall.getId()); + console.debug ("MobicentsWebRTCPhoneController:onWebRTCommCallMessageEvent(): webRTCommCall.getId()="+webRTCommCall.getId()); if(webRTCommCall.isIncoming()) alert("Message from "+webRTCommCall.getCallerPhoneNumber()+":"+message); else alert("Message from "+webRTCommCall.getCalleePhoneNumber()+":"+message);
 }

==============================================================================
Revision: c7870deca117
Author:   Jean Deruelle <[email protected]>
Date:     Wed Jul 10 14:33:33 2013
Log:      Update Issue 174

More fixes

http://code.google.com/p/sipservlets/source/detail?r=c7870deca117

Modified:
/sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/MobicentsWebRTCPhoneView.html /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js

=======================================
--- /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/MobicentsWebRTCPhoneView.html Wed Jul 10 10:32:58 2013 +++ /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/MobicentsWebRTCPhoneView.html Wed Jul 10 14:33:33 2013
@@ -149,7 +149,7 @@
                 }
             }

-            function playRemoteAudio(remoteMediaStream)
+            /*function playRemoteAudio(remoteMediaStream)
             {
                 if(typeof navigator.webkitGetUserMedia != 'undefined')
                 {
@@ -173,7 +173,7 @@
                 {
document.getElementById("remoteAudio").mozSrcObject=undefined;
                 }
-            }
+            }*/

             /*function playLocalVideo(localMediaStream)
             {
=======================================
--- /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js Wed Jul 10 13:30:35 2013 +++ /sip-servlets-examples/websocket-b2bua/src/main/sipapp/MobicentsWebRTCPhone/js/MobicentsWebRTCPhoneController.js Wed Jul 10 14:33:33 2013
@@ -794,10 +794,10 @@
     }
     else
     {
-        if(webRTCommCall.getRemoteAudioMediaStream())
+        /*if(webRTCommCall.getRemoteAudioMediaStream())
         {
this.view.playRemoteAudio(webRTCommCall.getRemoteAudioMediaStream());
-        }
+        } */
         if(webRTCommCall.getRemoteVideoMediaStream())
         {
             this.view.showRemoteVideo();
@@ -888,11 +888,11 @@
     this.view.disableEndCallButton();
     //this.view.disableCancelCallButton();
     this.view.disableConnectButton();
-    //this.view.disableSendMessageButton();
-    this.view.hideRemoteVideo();
+    //this.view.disableSendMessageButton();
     this.view.stopRemoteVideo();
-    this.view.stopRemoteAudio();
+    //this.view.stopRemoteAudio();
     this.view.stopRinging();
+    this.view.hideRemoteVideo();
     this.webRTCommCall=undefined;

     if(webRTCommCall.getCallerPhoneNumber())

--

--- You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to