[asterisk-users] Asterisk 13 and WebRTC. Is wiki page still valid ?

Simon Hohberg simon.hohberg at mcs-datalabs.com
Thu Feb 18 07:57:40 CST 2016


> Is it implied here that both HTTPS and WSS must also come from the 
> same server (Same Origin Policy) ?
No, the same origin policy does not apply to web sockets.

> Then, can I also install my own WebRTC demo page on my own private  
> Asterisk server and access this demo page through HTTPS ?
> If I'm not mistaken, this should fulfill all requirements.
It doesn't matter where the asterisk server is hosted. It is important 
where the web application comes from. If you don't want to use https and 
wss you only have the option to host the web app locally (on the same 
machine as the browser that loads the page), which probably makes sense 
only for development. Otherwise you have to use https and wss for the 
reasons discussed earlier.

Hope it helps.


Simon



More information about the asterisk-users mailing list