{"id":147696,"date":"2016-05-22T22:44:37","date_gmt":"2016-05-23T02:44:37","guid":{"rendered":"http:\/\/www.designerchildren.com\/jitsi-freebsd-wiki\/"},"modified":"2016-05-22T22:44:37","modified_gmt":"2016-05-23T02:44:37","slug":"jitsi-freebsd-wiki-2","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/jitsi\/jitsi-freebsd-wiki-2\/","title":{"rendered":"Jitsi &#8211; FreeBSD Wiki"},"content":{"rendered":"<p><p>UPDATE    <\/p>\n<p>    Audio and video now works. I have also sent some patches to the    Jitsi project in order to make the work of the port easier. I    will update the port soon. As soon as everything is done, this    page will be probably deleted.   <\/p>\n<p>    Jitsi is an open source VoIP and IM application. It supports    several popular protocols (most notable SIP and XMPP), and    offers encrypted chat (OTR) and encrypted voice and video calls    (ZRTP). It is mostly written in Java (Swing for the GUI also)    with some parts written in C because it uses a plethora of    third-party libraries in order to be multiplatform (when Java    fails, the third-party libraries come to the rescue).      <\/p>\n<p>    The purpose of this page is to serve as a starting and    coordination point for anyone that wants to help in the process    of integrating Jitsi into FreeBSD. Throughout the years, the    Jitsi mailing lists have received emails from several people    who were trying to port Jitsi on FreeBSD with working    audio\/video calls, but as far as I know, at the moment we don't    have such a thing.   <\/p>\n<p>    Jitsi 2.2 (latest stable version) exists in the Ports tree    under net-im\/jitsi.   <\/p>\n<p>    Unfortunately, the new version (2.2) that exists in the Ports    tree, does not solve any of the existing problems. The current problems are:   <\/p>\n<p>    I think that this is the issue with the highest priority. If we    fix the audio, probably we will be able to make encrypted voice    calls - one of the most useful features.   <\/p>\n<p>    Jitsi supports 3 audio systems:   <\/p>\n<p>    On a Debian GNU\/Linux system, Jitsi offers 2 audio systems:    PortAudio and    PulseAudio. On a    Windows 7 system it also offers WASAPI (Windows only). In    FreeBSD, I assume that it is possible to have both PortAudio and PulseAudio.   <\/p>\n<p>    The reason that the number of features of Jitsi differs from    one platform to another is that in the lib\/native    directory of the source of Jitsi, there are directories for    every platform (i.e. freebsd, freebsd-64, linux, linux-64, mac,    solaris, solaris-sparc, windows, windows-64). Every platform    has a different number of libraries inside. For example, the    freebsd directory has 5 libraries whereas the linux directory    has 24 (including both the libjnportaudio.so and the    libjnpulseaudio.so that are responsible for the    available audio systems in Jitsi). If you are on a Debian    GNU\/Linux amd64 system running Jitsi from source, and you    remove the libjnportaudio.so library from the linux-64    directory, you won't be able to have the PortAudio option in the available audio    systems of Jitsi.   <\/p>\n<p>    So there are 2 options (that I can see):   <\/p>\n<p>    In order to build the libjnportaudio.so library, you have to    download the source of libjitsi (<a href=\"https:\/\/jitsi.org\/Projects\/LibJitsi\" rel=\"nofollow\">https:\/\/jitsi.org\/Projects\/LibJitsi<\/a>).    Then, the procedure can be summarized in the following steps:      <\/p>\n<p>        Download the hotplug branch of PortAudio (check        src\/native\/portaudio\/README), patch it with the        src\/native\/portaudio\/portaudio-hotplug-os.patch, configure        and make.       <\/p>\n<p>    If you follow the above procedure in an officially Jitsi    supported platform (ex. Debian GNU\/Linux i386), the chances are    that you will end up with a libjnportaudio.so file under the    lib\/native\/linux directory of libjitsi.   <\/p>\n<p>    The procedure is a lot easier than in libjnportaudio.so. It    basically needs three things:   <\/p>\n<p>        Some minor changes to the target pulseaudio of the        src\/native\/build.xml in order to compile under FreeBSD              <\/p>\n<p>        Invoke the command ant pulseaudio inside the root        directory of libjitsi       <\/p>\n<p>    I have produced the libjnpulseaudio.so library but when I    placed it under the directory lib\/native\/freebsd-64 of Jitsi I    did not get PulseAudio in the drop down menu of Audio    Systems. Probably it needs some changes in the Java files in    order to detect it (TODO)?   <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>View original post here:<br \/>\n<a target=\"_blank\" href=\"https:\/\/wiki.freebsd.org\/Jitsi\" title=\"Jitsi - FreeBSD Wiki\">Jitsi - FreeBSD Wiki<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> UPDATE Audio and video now works. I have also sent some patches to the Jitsi project in order to make the work of the port easier <a href=\"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/jitsi\/jitsi-freebsd-wiki-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94876],"tags":[],"class_list":["post-147696","post","type-post","status-publish","format-standard","hentry","category-jitsi"],"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/147696"}],"collection":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/comments?post=147696"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/147696\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/media?parent=147696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/categories?post=147696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/tags?post=147696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}