<div dir="ltr">OK, well, I tossed it into ceropackages. it builds. It pulls in the boost headers for some reason. Is there some specific package on top of this for the webrtc stack you have package makefiles for? <br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 8, 2013 at 2:57 PM, Daniel Pocock <span dir="ltr"><<a href="mailto:daniel@pocock.com.au" target="_blank">daniel@pocock.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On 08/09/13 23:23, Dave Taht wrote:<br>
> On Sun, Sep 08, 2013 at 09:18:54PM +0200, Daniel Pocock wrote:<br>
>><br>
>><br>
>><br>
>> Hi,<br>
>><br>
>> I posted this contribution to OpenWRT but it has been ignored for almost<br>
>> 12 months:<br>
>><br>
>> <a href="https://lists.openwrt.org/pipermail/openwrt-devel/2012-September/016771.html" target="_blank">https://lists.openwrt.org/pipermail/openwrt-devel/2012-September/016771.html</a><br>
>><br>
>> I've tried asio on OpenWRT and it seems to work fine, I've submitted a<br>
>> patch for it. Would it be possible to bring this directly into CeroWRT?<br>
><br>
> We maintain a packages repo (ceropackages-3.3) for various bits of interesting<br>
> stuff.<br>
><br>
> Certainly a decent stun/turn server in the webrtc world would be "interesting"<br>
<br>
</div>The underlying asio library itself is general purpose - so it is not<br>
just for STUN/TURN. TURN is very compelling now that WebRTC is taking<br>
off and uses TURN by default from the browser.<br>
<br>
To give another example, asio has been used as a foundation for the<br>
websocketpp suite, which enables both client and server websocket<br>
development<br>
<div class="im"><br>
> It's not clear to me what else asio is - and if it is "decent enough"?<br>
<br>
> In general I am allergic to c++/boost stuff in tiny embedded systems - we have<br>
> only so much flash and ram to spare. What are the flash and memory impacts?<br>
<br>
</div>asio itself is a header library for asynchronous, event-based programming<br>
<br>
It comes in a boost version and a non-boost version. This is the<br>
non-boost version, so it is likely to have less impact than the boost<br>
version. I confess the full solution with SIP + TURN + SSL is a little<br>
top heavy though, a device with 32MB RAM may not be enough, my WL-1043ND<br>
couldn't handle it all. On the other hand, one of these jumbo routers<br>
(I went and got a Buffalo WZR-HP-AG300H with 128MB RAM) is quite<br>
suitable and can run a full WebRTC stack as a convenient alternative to<br>
Skype.<br>
<br>
Here is a trivial asio example:<br>
<br>
<a href="http://think-async.com/Asio/asio-1.4.8/src/examples/echo/async_tcp_echo_server.cpp" target="_blank">http://think-async.com/Asio/asio-1.4.8/src/examples/echo/async_tcp_echo_server.cpp</a><br>
<div class="im"><br>
> Anyway, if you want to package it up I'll gladly fold it into ceropackages,<br>
> and build it, where more can fiddle with it.<br>
<br>
</div>I've made up a patch against OpenWRT, to bring this into ceropackages do<br>
I need to adapt the patch or you can easily use it as is? Please find<br>
the Makefile attached.<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
Cerowrt-devel mailing list<br>
<a href="mailto:Cerowrt-devel@lists.bufferbloat.net">Cerowrt-devel@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/cerowrt-devel" target="_blank">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dave Täht<br><br>Fixing bufferbloat with cerowrt: <a href="http://www.teklibre.com/cerowrt/subscribe.html" target="_blank">http://www.teklibre.com/cerowrt/subscribe.html</a>
</div>