surflion-service 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/surflion.js +1 -0
package/package.json
CHANGED
package/surflion.js
CHANGED
|
@@ -1549,6 +1549,7 @@ var SurfLion = {
|
|
|
1549
1549
|
SurfLion.userAgent.stop();
|
|
1550
1550
|
},
|
|
1551
1551
|
sipCall: function (sip_phone_number_) {
|
|
1552
|
+
if(!sip_phone_number_) return
|
|
1552
1553
|
if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
|
|
1553
1554
|
navigator.mediaDevices.getUserMedia({ audio: true })
|
|
1554
1555
|
.then(function(stream) {
|