On Fri, Nov 2, 2012 at 12:58 PM, Ivan Vučica <
ivu...@gmail.com> wrote:
> Other implementations may indeed implement the components that WebRTC
> project reuses from libjingle et al, but why would Google's team reinvent
> the wheel by repeatedly writing code their own teams have already written?
I agree with the code-reuse standpoint. I certainly do not advocate
for a rewrite of the code, but maybe for extracting a subset of
libjingle (and others) in a standalone library to be used in both
libjingle and webrtc. Otherwise it seems to me like linking to
chromium just to get bookmarks support. I know computation is cheap
nowadays, but if this library is to be used on mobile the size issue
is more relevant. I'm not sure if the linker can strip all the
bytecode that is not used, and actually what percentage of the code is
not used.
I just started this thread to get a better understanding of the
directions of the project, because at first sight, the webrtc trunk
contains well organized, freshly written code with sane dependencies,
and then the PeerConnection branch includes a huge bunch of stuff from
which a very small portion is actually utilized (I may be wrong on
this one). There is webrtc stuff as a third party dependency of
itself, as a portion of libjingle and talk... To me it just looks like
a quick, durty hack to get it working ASAP, so that is why I asked for
clarification :)
Regards,
Iskren