chamwang / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Compatibility problem with Node-Webkit? #200

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using sipml5 in Node-webkit

What is the expected output? What do you see instead?
In Chrome browser all works well. 

In Node-Webkit:
SIPML5 API version = 1.5.222 VM77 SIPml-api.js:890
User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/38.0.2125.104 Safari/537.36 VM77 SIPml-api.js:890
WebSocket supported = yes VM77 SIPml-api.js:890
Navigator friendly name = chrome VM77 SIPml-api.js:890
OS friendly name = windows VM77 SIPml-api.js:890
Have WebRTC = yes VM77 SIPml-api.js:890
Have GUM = yes VM77 SIPml-api.js:890
Engine initialized VM77 SIPml-api.js:890
s_websocket_server_url=(null) VM77 SIPml-api.js:890
s_sip_outboundproxy_url=udp://xxxxxxx VM77 SIPml-api.js:890
b_rtcweb_breaker_enabled=yes VM77 SIPml-api.js:890
b_click2call_enabled=no VM77 SIPml-api.js:890
b_early_ims=yes VM77 SIPml-api.js:890
b_enable_media_stream_cache=no VM77 SIPml-api.js:890
o_bandwidth={} VM77 SIPml-api.js:890
o_video_size={} VM77 SIPml-api.js:890
SIP stack start: proxy='ns313841.ovh.net:14062', realm='<sip:xxxxx>', 
impi='16910122014001', impu='"34931641619"<sip:xxxxx@xxxxx>' VM77 
SIPml-api.js:890
Connecting to 'wss://ns313841.ovh.net:14062' VM77 SIPml-api.js:890
'starting' event fired VM78 sipml5.js:11
WebSocket connection to 'wss://ns313841.ovh.net:14062/' failed: Connection 
closed before receiving a handshake response VM77 SIPml-api.js:16579
__tsip_transport_ws_onerror VM77 SIPml-api.js:890
__tsip_transport_ws_onclose VM77 SIPml-api.js:890
'failed_to_start' event fired 

What version of the product are you using? On what operating system?
SIPML5 = 1.5.222.
Windows 7.

Please provide any additional information below.
I tried to reconnect the websocket with a script but everytime do the same 
error.

---
WebSocket connection to 'wss://ns313841.ovh.net:14062/' failed: Connection 
closed before receiving a handshake response.

Original issue reported on code.google.com by Ivangm0...@gmail.com on 30 Dec 2014 at 10:56