[jitsi-users] Jitsi runtime issue on ARM 12.04 platform


#1

Hi,

I had compiled natively (on my ARM platform with Kubuntu 12.04) all the
libjitsi and jitsi native libraries as shared libraries using Makefiles and
compiled jitsi source using "ant rebuild". Then i tried running jitsi using
"ant run". GUI comes UP but on my usage I found to have camera/video
related issues as shown below, (including local camera view)

     [java] 10:11:16.758 SEVERE: [100]
util.UtilActivator.uncaughtException().108 An uncaught exception occurred
in thread=Thread[FMJ Thread: net.sf.fmj.media.ProcessEngine@14a6abe (
prefetchThread),9,system] and message was:
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.open(Ljava/awt/Component;)J
     [java] java.lang.UnsatisfiedLinkError:
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.open(Ljava/awt/Component;)J
     [java] at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.open(Native
Method)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.open(JAWTRenderer.java:403)
     [java] at
net.sf.fmj.media.BasicRendererModule.doPrefetch(BasicRendererModule.java:202)
     [java] at
net.sf.fmj.media.BasicTrackControl.prefetchTrack(BasicTrackControl.java:166)
     [java] at
net.sf.fmj.media.PlaybackEngine.doPrefetch1(PlaybackEngine.java:1015)
     [java] at
net.sf.fmj.media.ProcessEngine.doPrefetch(ProcessEngine.java:1173)
     [java] at
net.sf.fmj.media.PrefetchWorkThread.process(BasicController.java:1107)
     [java] at
net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

*on camera switching back, i found these errors*
    [java] 10:11:52.784 SEVERE: [36]
org.jitsi.impl.neomedia.MediaServiceImpl.error() Failed to create video
preview
     [java] java.io.IOException: ioctl: request= VIDIOC_S_FMT, size=
640x480, pixelformat= 1448695129
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2Stream.setFdFormat(Video4Linux2Stream.java:727)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2Stream.setFdFormat(Video4Linux2Stream.java:686)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2Stream.setFd(Video4Linux2Stream.java:595)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.DataSource.doConnect(DataSource.java:127)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractPullBufferCaptureDevice$1.doConnect(AbstractPullBufferCaptureDevice.java:62)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractBufferCaptureDevice.connect(AbstractBufferCaptureDevice.java:124)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractPullBufferCaptureDevice.connect(AbstractPullBufferCaptureDevice.java:152)
     [java] at javax.media.Manager.createDataSource(Manager.java:384)
     [java] at
org.jitsi.impl.neomedia.MediaServiceImpl.getVideoPreviewComponent(MediaServiceImpl.java:1063)
     [java] at
net.java.sip.communicator.impl.neomedia.MediaConfigurationImpl.createVideoPreview(MediaConfigurationImpl.java:865)
     [java] at
net.java.sip.communicator.impl.neomedia.MediaConfigurationImpl.createPreview(MediaConfigurationImpl.java:1799)
     [java] at
net.java.sip.communicator.impl.neomedia.MediaConfigurationImpl.access$800(MediaConfigurationImpl.java:47)
     [java] at
net.java.sip.communicator.impl.neomedia.MediaConfigurationImpl$8.onAction(MediaConfigurationImpl.java:1339)
     [java] at
net.java.sip.communicator.impl.neomedia.MediaConfigurationImpl$9$1.run(MediaConfigurationImpl.java:1387)
     [java] at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
     [java] at
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     [java] at java.awt.EventQueue.access$200(EventQueue.java:103)
     [java] at java.awt.EventQueue$3.run(EventQueue.java:694)
     [java] at java.awt.EventQueue$3.run(EventQueue.java:692)
     [java] at java.security.AccessController.doPrivileged(Native
Method)
     [java] at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     [java] at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     [java] at
java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Though i am new to Java, I believe jitsi being java based, it should work
on ARM as well. Hence with lot of hardwork, Sebastian-Paula conversation
and other community help, i come to this stage but I had no clue about this
runtime errors.
*Can someone kindly help me to identify where exactly the issue is?*
I am using jitsi-stable-src-2.6.5390 from Github and libjitsi latest
version from "Master" branch.

Warm Regards

···

---------------------
Giri Babu Emuri,