jitsi / jitsi-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
Apache License 2.0
414 stars 259 forks source link

jawax.media.Renderer is missing in the Project Source in Eclipse #45

Open chathura1 opened 8 years ago

chathura1 commented 8 years ago

I am trying to build the jitsi-android in Eclipse. I was able to get all libraries except libjitsi.jar is missing in the lib folder. I tried getthing the libjitsi.jar from: https://github.com/jitsi/jitsi-android/blob/master/lib/bundles/libjitsi.jar

But I am getting following errors: missing-libjitsi jar from android-jitsi

chathura1 commented 8 years ago

The type javax.media.ResourceUnavailableException cannot be resolved. It is indirectly referenced from required .class files SurfaceRenderer.java /jitsi-android/src/org/jitsi/impl/neomedia/jmfext/media/renderer/video line 1 Java Problem

chathura1 commented 8 years ago

In SurfaceRenderer.java Eclipse saying remove unused libraries:

import org.jitsi.android.util.java.awt.; import javax.media.format.; import javax.media.renderer.*;

What am i doing wrong here?

cmeng-git commented 7 years ago

The original jitsi-android uses code from jitsi which make reference to awt and swings which are not available on Android platform. The developers of the jitsi-android do not include the stubs in the jitsi-android released source. You need to create your own stub to handle all these references if you want to compile jitsi-android. Quite a task to do this. The next thing you may face is the 64K code limit on android since jitsi-android does not include multi-dex compilation/linking option in the source.

I have started a new development on aTalk application – a fork from the jisti-android. If you are interested, you may download the apk from the following site.

download_link=http://atalk.sytes.net/releases/atalk-android/aTalk-release.apk