linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] gnu/linux xv webcam selfview


From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-users] gnu/linux xv webcam selfview
Date: Tue, 16 Sep 2014 12:24:16 +0200

Hello Sylvain,

This is not a joke at all. The SIP protocol is (like all network protocols) based on a "formal grammar", which is described in an IETF RFC here: https://www.ietf.org/rfc/rfc3261.txt
I would suggest you read this RFC from start to end and possibly some related materials: http://en.wikipedia.org/wiki/Formal_grammar

Writing a protocol parser is not as simple as it seems, and ANTLR is a tool that eased the work tremendously (on top of making it reliable and testable).
Also, Java is required for COMPILATION, and not for RUNTIME (you'll see that installing belle-sip from your favorite package manager in linux doesn't pull the entire Java runtime).

There are plenty of other alternatives to ANTLR, some of them not even in interpreted languages: http://en.wikipedia.org/wiki/Comparison_of_parser_generators 
Finally, let me remind you that bellesip and linphone are open source projects, and if you want to keep your computer Java-free, feel free to propose a patch removing the Java dependency.

Cheers,

Guillaume BIENKOWSKI
http://www.belledonne-communications.com/
sip:address@hidden

On Tue, Sep 16, 2014 at 11:36 AM, Sylvain BERTRAND <address@hidden> wrote:

Is that a joke? You need to install java and java software to
compile a linphone stack?? Please remove all non-C components
from your SDK (at least for the C/GTK+ client SDK).

SIP grammar?? What is happening to this protocol?? It's supposed
to be minimal and simple.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]