[jitsi-users] AVReceive2 problems


#1

I am trying to run your program "AVReceive2" without ant by manually
specifying the port number into the source code, and I am getting all these
errors:

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.opus.JNIDecoder is NOT
successfully registered
java.lang.UnsatisfiedLinkError: no jnopus in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jitsi.impl.neomedia.codec.audio.opus.Opus.<clinit>(Opus.java:70)
at
org.jitsi.impl.neomedia.codec.audio.opus.JNIDecoder.<clinit>(JNIDecoder.java:72)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.opus.JNIEncoder is NOT
successfully registered
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.audio.opus.Opus
at
org.jitsi.impl.neomedia.codec.audio.opus.JNIEncoder.<clinit>(JNIEncoder.java:89)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.speex.JNIDecoder is NOT
successfully registered
java.lang.UnsatisfiedLinkError: no jnspeex in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jitsi.impl.neomedia.codec.audio.speex.Speex.<clinit>(Speex.java:34)
at
org.jitsi.impl.neomedia.codec.audio.speex.JNIDecoder.<clinit>(JNIDecoder.java:54)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.speex.JNIEncoder is NOT
successfully registered
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.audio.speex.Speex
at
org.jitsi.impl.neomedia.codec.audio.speex.JNIEncoder.<clinit>(JNIEncoder.java:48)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.speex.SpeexResampler is
NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.audio.speex.Speex
at
org.jitsi.impl.neomedia.codec.audio.speex.SpeexResampler.<clinit>(SpeexResampler.java:53)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT
successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:226)
at
org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:40)
at
org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:55)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.g722.JNIDecoder is NOT
successfully registered
java.lang.UnsatisfiedLinkError: no jng722 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at
org.jitsi.impl.neomedia.codec.audio.g722.JNIDecoder.<clinit>(JNIDecoder.java:49)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.g722.JNIEncoder is NOT
successfully registered
java.lang.UnsatisfiedLinkError: no jng722 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at
org.jitsi.impl.neomedia.codec.audio.g722.JNIEncoder.<clinit>(JNIEncoder.java:22)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT
successfully registered
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.FFmpeg
at
org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:33)
at
org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:25)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT
successfully registered
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.FFmpeg
at
org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:40)
at
org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:26)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:224)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1607)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:241)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:118)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger info
INFO: Initializing audio devices
May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem
java.lang.UnsatisfiedLinkError: no jnpulseaudio in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:114)
at
org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)
at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)
at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
at org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem
java.lang.UnsatisfiedLinkError: no jnportaudio in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)
at
org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(PortAudioSystem.java:174)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
at org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
at org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)
at
org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAudioSystem.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger info
INFO: Initializing video devices
May 14, 2015 2:03:45 PM org.jitsi.util.Logger warn
WARNING: Failed to initialize
org.jitsi.impl.neomedia.device.Video4Linux2System
java.lang.UnsatisfiedLinkError: no jnvideo4linux2 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2.<clinit>(Video4Linux2.java:87)
at
org.jitsi.impl.neomedia.device.Video4Linux2System.discoverAndRegister(Video4Linux2System.java:73)
at
org.jitsi.impl.neomedia.device.Video4Linux2System.doInitialize(Video4Linux2System.java:120)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:462)
at
org.jitsi.impl.neomedia.device.Video4Linux2System.<init>(Video4Linux2System.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:163)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger info
INFO: Looking for configured audio devices.
May 14, 2015 2:03:45 PM org.jitsi.util.Logger info
INFO: Scanning for configured Video Devices.
May 14, 2015 2:03:45 PM org.jitsi.util.Logger info
INFO: Found Desktop Streaming 0 as a AVFRAME, class
org.jitsi.impl.neomedia.codec.video.AVFrame video capture device.
May 14, 2015 2:03:45 PM org.jitsi.util.Logger error
SEVERE: Failed to register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with
JMF.
java.lang.IllegalStateException: audioSystem
at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)
at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1034)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

May 14, 2015 2:03:45 PM org.jitsi.util.Logger error
SEVERE: Failed to register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: no jnawtrenderer in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1034)
at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at john.JohnReceive.initialize(JohnReceive.java:107)
at john.JohnReceive.main(JohnReceive.java:278)

Exception in thread "Thread-1" java.lang.NullPointerException
at
org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
May 14, 2015 2:03:46 PM org.jitsi.util.Logger warn
WARNING: Failed to initialize
org.jitsi.impl.neomedia.device.Video4Linux2System
java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2
at
org.jitsi.impl.neomedia.device.Video4Linux2System.discoverAndRegister(Video4Linux2System.java:73)
at
org.jitsi.impl.neomedia.device.Video4Linux2System.doInitialize(Video4Linux2System.java:120)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:462)
at
org.jitsi.impl.neomedia.device.Video4Linux2System.<init>(Video4Linux2System.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
at
org.jitsi.impl.neomedia.MediaServiceImpl.getDevices(MediaServiceImpl.java:567)
at
org.jitsi.impl.neomedia.MediaServiceImpl.getDefaultDevice(MediaServiceImpl.java:490)
at john.JohnReceive.initialize(JohnReceive.java:121)
at john.JohnReceive.main(JohnReceive.java:278)

Exception in thread "main" java.lang.NullPointerException: device
at
org.jitsi.impl.neomedia.MediaServiceImpl.createMediaStream(MediaServiceImpl.java:400)
at
org.jitsi.impl.neomedia.MediaServiceImpl.createMediaStream(MediaServiceImpl.java:355)
at
org.jitsi.impl.neomedia.MediaServiceImpl.createMediaStream(MediaServiceImpl.java:321)
at
org.jitsi.impl.neomedia.MediaServiceImpl.createMediaStream(MediaServiceImpl.java:289)
at john.JohnReceive.initialize(JohnReceive.java:122)
at john.JohnReceive.main(JohnReceive.java:278)


#2

In order to use opus and the rest of the codecs which depend on JNI libraries you need to specify the directory with the library files. You can do this by adding '-Djava.library.path=' to the java arguments.

Boris

ยทยทยท

On 14/05/15 21:11, John Michael Lafayette wrote:

I am trying to run your program "AVReceive2" without ant by manually
specifying the port number into the source code, and I am getting all
these errors:

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.opus.JNIDecoder is
NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnopus in java.library.path