< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Issues building WebRTC branch



On 18/03/13 23:16, Nathan Stratton wrote:
> On Wed, Mar 13, 2013 at 4:54 PM, Daniel Pocock <daniel@xxxxxxxxxxxxx> wrote:
> 
>>
>> On 13/03/13 22:46, Nathan Stratton wrote:
>>> I am able to build latest svn, however I am having issues building the
>>> b-webrtc branch. I am building on Centos 6.4 system and --with-ssl is the
>>> only configure option after first running autoreconf --install. The
>> errors
>>> all look like issues finding boost, however everything is in standard
>>> /usr/include/boost.
>>>
>>> In file included from RemotePeer.cxx:1:
>>> RemotePeer.hxx:4:20: error: asio.hpp: No such file or directory
>>> In file included from ChannelManager.cxx:1:
>>> ChannelManager.hxx:4:20: error: asio.hpp: No such file or directory
>>> In file included from AsyncSocketBase.cxx:1:
>>> AsyncSocketBase.hxx:5:20: error: asio.hpp: No such file or directory
>>> In file included from ReTurnConfig.cxx:1:
>>
>> Is this only a problem for reTurn?
>>
> 
> Not sure, just where I first run into the issue.
> 

It will only try to compile reTurn after compiling everything else, so
you should probably already have a working build of repro

I just made more changes over the weekend, the SSL support is working
now, so you should be able to configure something like this:


Transport3Interface = 192.168.1.10:443
Transport3Type = WSS
Transport3RecordRouteUri = auto
Transport3TlsDomain = my-host.example.org
Transport3TlsClientVerification = None
Transport3RecordRouteUri = sip:my-host.example.org;transport=WSS

I tested from SIPml5

The above can successfully REGISTER even when running in a browser on a
network that only allows external access via a proxy (with HTTP CONNECT
for port 443 only)

> 
>> --with-ssl is essential for WebSockets (although the secured websocket
>> support is a bit broken, it will be fixed shortly though)
>>
> 
> Yes:
> 
> autoreconf --install
> ./configure --with-ssl
> make -j8
> 

Your build command looks fine, my last test was done with this:

./configure --with-ssl   --with-c-ares --prefix=/opt/resip-ws