Code Monkey home page Code Monkey logo

jitsi-android's Introduction

Unmaintained!

The development of Jitsi for Android has been stopped in early 2015. Issues and Pull Requests will not be addressed.


Jitsi for Android

Jitsi for Android is an Android port of the Jitsi project: The most feature-rich communicator with support for encrypted audio/video, chat and presence over SIP and XMPP.

Usage with IntelliJ

  1. Make sure that you have Java and Android SDK installed on your system and IntelliJ version is up to date(13.0.2).
  2. (Optional) Assuming that Jitsi for desktop project is in the same parent directory you can call "copy-jitsi-bundles" ant target. This will sync Jitsi bundles. Ant targets can be found in "Ant Build" tools window(View->Tool Windows->Ant Build).
  3. Before building for the first time call "setup-libs" ant target. This will process jitsi bundles and place all required libraries in /libs folder.
  4. Now you can use IntelliJ IDE to run/debug/test Jitsi for Android like any other application.

Usage with ANT

After updating library bundles, when building for the first time or after clean:

ant setup-libs

To make the project:

ant make

To rebuild (clean and make):

ant rebuild

To run the project (will install the apk and will run it on default test device):

ant run

To make and run the project after modification:

ant make run

Sources

To obtain sources for .jar files located in lib folder checkout jitsi_android branch of jitsi and libjitsi projects.

https://github.com/jitsi/jitsi/tree/jitsi_android

https://github.com/jitsi/libjitsi/tree/jitsi_android

Contribution

Before making any pull requests please see: https://jitsi.org/Documentation/FAQ#patch

jitsi-android's People

Contributors

damencho avatar emcho avatar ibauersachs avatar paweldomas avatar sandy-8925 avatar yanas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jitsi-android's Issues

Call volume control

Currently to adjust call volume frist Android's call volume level is adjusted. When max level is reached we raise Libjitsi's output gain level. The opposite is done when min level is reached. The problem is that gain level is displayed by text toast and we need to provide custom UI that will have those two methods combined into single slider indicator.

(Issue migrated from https://trac.jitsi.org/ticket/1281)

error after run command "ant setup-libs"

D:\XMPP\jitsi-android-master\jitsi-android-master>ant setup-libs
Buildfile: D:\XMPP\jitsi-android-master\jitsi-android-master\build.xml

define-jarjar:

create-asset-dex:
[getbuildtools] Using latest Build Tools: 18.1.0
[delete] Deleting directory D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs
[copy] Copying 20 files to D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs
[jarjar] Building jar: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs\protocol-sip.jar
[jarjar] Building jar: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs\smacklib.jar
[jarjar] Building jar: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs\protocol-jabber.jar
[dex] input: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs
[dex] Converting compiled files and external libraries into D:\XMPP\jitsi-android-master\jitsi-android-master\bin\jitsi_bundles_dex_dir\classes.dex...
[dx] 'E:\Program' 不是内部或外部命令,也不是可运行的程序
[dx] 或批处理文件。

BUILD FAILED
D:\XMPP\jitsi-android-master\jitsi-android-master\build.xml:152: null returned: 1

Total time: 2 seconds

D:\XMPP\jitsi-android-master\jitsi-android-master>

camer was not found - bug

@im using rocket.chat last version and when im starting video call from mobile i see this message
screenshot_2016-10-22-13-53-42
MY device : Samsung NOTE 3 N9005

java.lang.NoClassDefFoundError: org.jitsi.android.gui.AndroidGUIActivator

I am able to build the application. But when I am going to install the build to device then getting the error NoClassDefFoundError. I tried to fix but not succeed and struggling with such type of error.

Log cat as below:-

10-13 10:55:18.472: E/Jitsi(8597): [3] util.UtilActivator.uncaughtException().108 An uncaught exception occurred in thread=Thread[main,5,main] and message was: org.jitsi.android.gui.AndroidGUIActivator
10-13 10:55:18.472: E/Jitsi(8597): java.lang.NoClassDefFoundError: org.jitsi.android.gui.AndroidGUIActivator
10-13 10:55:18.472: E/Jitsi(8597): at org.jitsi.service.osgi.OSGiActivity.postRestoreIntent(OSGiActivity.java:451)
10-13 10:55:18.472: E/Jitsi(8597): at org.jitsi.android.gui.Jitsi.onCreate(Jitsi.java:102)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.Activity.performCreate(Activity.java:5990)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.ActivityThread.access$800(ActivityThread.java:151)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
10-13 10:55:18.472: E/Jitsi(8597): at android.os.Handler.dispatchMessage(Handler.java:102)
10-13 10:55:18.472: E/Jitsi(8597): at android.os.Looper.loop(Looper.java:135)
10-13 10:55:18.472: E/Jitsi(8597): at android.app.ActivityThread.main(ActivityThread.java:5254)
10-13 10:55:18.472: E/Jitsi(8597): at java.lang.reflect.Method.invoke(Native Method)
10-13 10:55:18.472: E/Jitsi(8597): at java.lang.reflect.Method.invoke(Method.java:372)
10-13 10:55:18.472: E/Jitsi(8597): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
10-13 10:55:18.472: E/Jitsi(8597): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
10-13 10:55:18.473: E/Jitsi(8597): [3] org.jitsi.android.plugin.errorhandler.ExceptionHandler.uncaughtException().96 Uncaught exception occurred, killing the process...

I have put the .jar files inside the libs folder, but getting the same error.

If anyone have idea. Please help me.
Thanks!!

did jitsi-android finished ice?

Hi ,i use jitsi-android at the outside network,and i make a call,but the call disconnected , it show me the "ICE FAILED" error,
is my xmpp server work wrong?or jitsi-android not finished ice?

disabling IPv6 for ICE

Although it'll be a few years until we will have full IPv6 connectivity, Recent Android Versions are very eager to use IPv6 anywhere they can. This seems to be a major problem in getting a proper peer-to-peer connection going to an IPv4 contact. Rooted devices can use echo "1" > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6 to temporary disable it. But I am very certain that most of the people do not have IPv6 connectivity and it should become a bigger problem the more people will get it, before it will become less of an issue again.

Video Crashes When Phone is Horizontal

This app really has a lot of potential and features.

Jitsi for Android 0.1.258. When I turn the phone horizontally, the app cuts video from the front camera. Pressing the video button does nothing, until the phone is vertical, again. I have to turn the phone horizontal, because the video is displayed sideways on the receiving end.

Asus Z00AD and Z00TD.
Remote Client is Jitsi 2.8.5426 (Ubuntu 14.04)

OpusSettings

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=.android.gui.settings.OpusSettings }

failed to create task or type getbuildtools

I've just get hold of latest release, 133, and get this after setup-libs:

BUILD FAILED
C:\Workspace\jitsi-android\build.xml:70: Problem: failed to create task or type getbuildtools
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.

Hi, Did jitsi-android finished ice?

Hi ,i use jitsi-android at the outside network,and i make a call,but the call disconnected , it show me the "ICE FAILED" error,
is my xmpp server work wrong?or jitsi-android not finished ice?

Sound mutes on locking the screen

While in an outgoing call the sound mutes when locking the screen. Interestingly enough the microphone does not. Given enough time the microphone turns off too. This happens on a stock Samsung S5.

Feedback on Speaker Phone

Asus Z00AD and Asus Z00TD both have issues where there is massive feedback when either the video or audio are put into speakerphone. I tried turning off all the audio settings, but it didn't help. Also, I can not disable "Automatic gain control" on the Z00AD. It will uncheck, but when I come back, it's re-enabled.

Feature: Direct call widget

In order to make Jitsi-Android better at replacing the usual phone capabilities in android, this should help a little bit.

Notifications and restarts of Jitsi service

Android will shutdown Jitsi service from time to time when it needs more resources. It will happen more often when Jitsi doesn't show it's icon(hidden in the settings). That's because it will no longer work in foreground mode. We have to make sure that all notifications will work properly between restarts.

(Issue migrated from https://trac.jitsi.org/ticket/1268)

Problem reading libjitsi.jar

I downloaded latest version from master branch
July 4 2013
b3f75c2

when I try to run <>
it fails printing following

-pre-compile:

-compile:
[javac] Compiling 2 source files to D:\Projects\jts\jitsigit\jitsi-android\b
in\classes

-post-compile:
[jarjar] Building jar: D:\Projects\jts\jitsigit\jitsi-android\libs\protocol-s
ip.jar
[jarjar] Building jar: D:\Projects\jts\jitsigit\jitsi-android\libs\bouncycast
le.jar
[jarjar] Building jar: D:\Projects\jts\jitsigit\jitsi-android\libs\smacklib.j
ar

BUILD FAILED
D:\Projects\jts\jitsigit\jitsi-android\build.xml:215: Problem reading D:\Project
s\jts\jitsigit\jitsi-android\lib\bundles\libjitsi.jar

I tried other versions of libJitsi.jar from older versions but same.

Cheers,
Temo

OTR issues with carbon_copy

If OTR is enabled and the XMPP server have carbons enabled, it make issues with other clients, because Jitsi for Android send it to all clients and not the private-flag.

XMPP account never gets online

Sometimes XMPP account once became offline never reconnects again. In this situation when user tries to disable the account the app will freeze on "Disconnecting account" progress dialog.
Investigation shows that "disconnect" thread is waiting on "initializationLock" of Jabber provider. At the same time another thread(Keep alive thread) owns the same lock and tries to unregister the account. But it never does as it's blocked on another monitor in close() method of BufferedReader. Since "initializationLock" is never realesed we have a deadlock. The reason why close() method is blocked is unknown for now.

(Issue migrated from https://trac.jitsi.org/ticket/1266)

Chat issues

When chats are reordered in phone layout we can end up with blank chat window. It's caused by FragmentStatePagerAdapter issue described here:
https://code.google.com/p/android/issues/detail?id=37990
Fix provided in the thread can be used to resolve the issue however it's not perfect as some other glitches have been found:
We have chats A, B and C opened. Close chat B and minimize the activity(by going to home) will cause exception that fragment is not contained in FragmentManager when the state is being stored. It is not removed properly from maintained framgents list on delete event and then adapter attempts to store it's state.

(Issue migrated from https://trac.jitsi.org/ticket/1286)

Recent contacts

Sort most recent conversations at the top. Those that contain unread messages: at the top of the top (we can implement this with either a new contact source, or by modifying the compareTo() formula for a metacontact.
Uncommited work on recent contacts contains a plugin that moves contacts to "Recent" group, but this group is not displayed at the top of the contact list. Also there are exceptions while moving contacts across the groups that cause the creation of contact duplicates(sometimes after restart). Those duplicates don't have protocol providers bound and are causing further troubles. Work in progress...

(Issue migrated from https://trac.jitsi.org/ticket/1243)

hey!Error:(20, 1) error: org.jitsi.service.configuration is not found!

i downloaded jitsi-android,import this package to android studio IDE,prompt org.jitsi.service.configuration is not exist。

net.java.sip.communicator.service.gui
net.java.sip.communicator.service.protocol
net.java.sip.communicator.service.protocol.jabber
org.osgi.framework
net.java.sip.communicator.service.certificate
......
all not exist

Calls history

Calls history is not implemented yet. The idea is to add "contacts" and "history" tabs in main screen which will switch between contact list and calls history. The history should be also displayed when missed call notification is clicked.

(Issue migrated from https://trac.jitsi.org/ticket/1235)

Project dead?

Is the Jitsi for Android project dead?

From what I read from BlueJimp, even the desktop Jitsi client might be dead, or at least in maintenance mode.

Should usage and development offers be directed to another project, or are there any plans to release a stable Jitsi for Android some day?

Feature: Stop music on call and duck on ringing

At the moment jitsi-android doesn't care for music. I would like to implement a behavior as such:

-Duck music while ringing on incoming or outgoing call
-Stop music if the actual call takes place

Feature: Profiles or quick settings for codec

I find myself switching codecs very often to adapt to the current situation. Basically there are two situations:
-stable and fast internet connection (e.g. wifi)
-patchy and slow internet connection (e.g. mobile)

I would like to implement such a behavior in which the user can set a profile for when on mobile internet so it would use iLBC for the very slow (potentially throttled 64 Kbps) internet connection. When on wifi it would switch back to the default setting e.g. Opus. Though G722 makes a very nice trade off between quality and data throughput, it cannot handle a throttled 64Kbps connection in my experience.

Device rotation in video calls

Currently device rotation is correctly handled only in local camera preview. Video sent to remote part is not rotated correctly.
This can be quite easily solved only for direct preview surface recording by modifying open gl display matrix of the video texture.

(Issue migrated from https://trac.jitsi.org/ticket/1246)

Call ended screen

Currently after the call we show the reason why the call has ended, but all buttons stay as is. Video call control buttons should be replaced by buttons like: "call again", "send a message", "add to contactlist". This screen should be closed after short delay if there is no user action(like default android phone does it).

(Issue migrated from https://trac.jitsi.org/ticket/1283)

"screen is blocked" doesn't disappear

If one was to spam the proximity sensor with fast "near" and "far" events the fragment showing "SCREEN IS BLOCKED" stays on screen forever, effectively blocking the screen for the remainder of the call. Though the irony is funny if the screen is blocked by a rouge fragment saying "SCREEN IS BLOCKED", it actually gets pretty annoying. This occurs on a not so recent S3 running AOSP 4.4.

I suppose this bug may be found somewhere in org.jitsi.android.gui.call.ProximitySensorFragment.java. I will take a look into this class hopefully in the next couple of days.

Jitsi and Push To Talk

Hi all
Really thanks for this great App, Congratulations !
I compiled and make it and find it so useful.
I have started customize it for my own goal and again thanks all.
One feature is important for me, and that is push to talk (PTT)
In jitsi web site they said it is possible and is added feature to make ptt. ( Via SIP or XMPP ..?)
My server side cause SIP UA is FreeSWITCH.
Im gonna make it to PTT in jitsi.
Is it possible in jitsi-android? If yes, how?
Is it added to jitsi-android?
If not,can any body give me keywords to make it possible and develope it by myself? or even sample ?
It is really important for me and i really appreciate any help.
thanks all

Bad audio quality

Sometimes audio quality is poor on Android, but it happens always when proximity sensor turns off the screen during call.
Udating Opus to the latest version might give slight improvemnt as well as trying to build it with floats disabled. Increasing priority of audio encoding thread may also help which was abandoned at some point - not sure when and why, maybe by mistake.

(Issue migrated from https://trac.jitsi.org/ticket/1237)

XMPP accounts loose their passwords

Sometimes XMPP account loose it's passwords and user is prompted to re-enter it.
PLAIN SASL authentication method is ued. Logs show that Jitsi always sends the same password hash, but at some point server returns FAILURE with "not-authorized". Then Jitsi tries to send authz-id, username and password, but server rejects it too.

(Issue migrated from https://trac.jitsi.org/ticket/1267)

Conversion to Dalvik format failed with error 1 while compiling jitsi project

I am able to fix all the missing errors and added missing library. But when I am going to compile then getting strange error.
Conversion to Dalvik format failed with error 1

I think error is related to same class or package name. This error is getting due to java_stubs.jar because it contain the java.awt.* and javax.swing.* package that is already contain in android.jar.

I tried all trick and googled a lot but no solution. I am struggling since last 3-4 days.
If anyone have idea. Please help me. I will be very thankful.

Thanks a lot in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.