Git Product home page Git Product logo

java-bells's People

Contributors

bejayoharen avatar yyjdelete 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

Watchers

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

java-bells's Issues

Call from Jitsi will be rejected by Jitsi after accepted

net.java.sip.communicator.service.protocol.OperationFailedException: Remote party sent an invalid Jingle answer.

Maybe refer to code
com.xonami.javaBells.JingleStreamManager->getSupportedFormat
the number of audio channels must be the same for AudioMediaFormat

Tested with
MediaType mediaType = dev.getMediaType(); if (mf.matches(mediaType, payloadType.getName(), payloadType.getClockrate(), payloadType.getChannels(), null)) {//formatParameters is not used by default
and works well

Call to Jitsi client

Hi,

First : thank you sharing your code!

I am trying to get it working but I have one issue when calling a jitsi client. Once the jitsi client respons the call, it does not seems to send a packet back to javabellssample. The javabellssample do not react or detect that jitsi took the call.

May have you some experience with this problem?

Best regards,

Frederic

How Can I use java-bells-with-deps.jar

Hello sir,
I am trying to develop a program that let users communicate with etch other in local network using audio, video and Instance message.
First, I compile the source code of java-bells using ant jar command. I got a java-bells-with-deps.jar. After that, I created a java project using Eclipse Juno Service Release 1 and I put this jar in build class path of my project. I created com.xonami.javaBellsSample 's package and I put on it all example from your source code. Finally when I tried to run JavaBellsSample2.java, I got this error
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at com.xonami.javaBellsSample.JavaBellsSample.main(JavaBellsSample.java:76
Please help?
And thank you

Creating and Sending an Audio Message (HOW TO?)

This library is really useful, and has saved me a lot of headache when working with Smack's deprecated jingle API's.

But your samples do not have anything about creating, sending and receiving and Audio message, for which I actually need to use Jingle.

Can you shed some light on as to how do I create, send and receive an audio message? I am using your library for implementing live voice chat module in an existing web application. #

Unable to setup java bells for two peers

Hi,
While searching for the answers to my question here (http://stackoverflow.com/questions/22756339/newbie-questions-for-jitsi-api ), I came across java-bells.

First of all you have done a very good job on integrating smack, ice4j and Libjitsi, it's commendable.

Right now I am trying to run the sample apps in the java-bells, I have following questions for you:

  1. The sample code is meant for one account acting as both caller and receiver only, am I right in this assumption?
  2. I have hosted an xmpp server of my own and has two separate user accounts on it.
    I want to establish a video call by using java-bells between these two separate accounts on two different machines, how can I do it by using the sample codes that you have provided?

Also I request you to provide any good references that you followed to understand about ice4j, Libjitsi and video communication over RTP in general.

you can also reply to me on [email protected]

many thanks
Ashish

Issue

I work on a MMORPG private server based on Runescape. I have created my own framework which recieves and sends the needfull information to login (Could be found here https://github.com/AdamAliRS/Gielinor-Netty-Framework) I was researching about having voice chat ingame since its multiplayer. Real time conference for every clanchat (Which is for a clan, it's in the name). I was wondering if voice chat could be integrated for every clanchat, so every clan chat will run a new thread for the voicechat and then send the input to the people in the clanchat via the client.

Since, there is no real API's for something like that, I came across this and was wondering if this would be right for what I want to do. Any help is appreciated.

Failed to register custom Renderer

Getting this error on testanswer:

[Thread-4] INFO org.slf4j.Logger - [Caller]: connecting to 127.0.0.1
Aug 28, 2013 5:28:42 PM org.jitsi.util.Logger error
SEVERE: Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.audio.WASAPIRenderer with JMF.
java.lang.NullPointerException
at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.AbstractAudioRenderer.getSupportedInputFormats(AbstractAudioRenderer.java:159)
at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1064)
at org.jitsi.impl.neomedia.device.DeviceConfiguration.(DeviceConfiguration.java:368)
at org.jitsi.impl.neomedia.MediaServiceImpl.(MediaServiceImpl.java:132)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:132)
at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at com.xonami.javaBells.JingleStreamManager.addDefaultMedia(JingleStreamManager.java:55)
at com.xonami.javaBellsSample.JavaBellsSample$3.run(JavaBellsSample.java:310)

Aug 28, 2013 5:28:42 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(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.(JAWTRenderer.java:90)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1060)
at org.jitsi.impl.neomedia.device.DeviceConfiguration.(DeviceConfiguration.java:368)
at org.jitsi.impl.neomedia.MediaServiceImpl.(MediaServiceImpl.java:132)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:132)
at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at com.xonami.javaBells.JingleStreamManager.addDefaultMedia(JingleStreamManager.java:55)
at com.xonami.javaBellsSample.JavaBellsSample$3.run(JavaBellsSample.java:310)

Caller: java.io.IOException: Failed to bind even a single host candidate for component:Component id=1 parent stream=audio
no local candidates.
no remote candidates. preferredPort=8938 minPort=8938 maxPort=9038
java.io.IOException: Failed to bind even a single host candidate for component:Component id=1 parent stream=audio
no local candidates.
no remote candidates. preferredPort=8938 minPort=8938 maxPort=9038
at org.ice4j.ice.harvest.HostCandidateHarvester.harvest(HostCandidateHarvester.java:172)
at org.ice4j.ice.Agent.gatherCandidates(Agent.java:441)
at org.ice4j.ice.Agent.createComponent(Agent.java:349)
at com.xonami.javaBells.IceAgent.createStream(IceAgent.java:233)
at com.xonami.javaBells.IceAgent.createStreams(IceAgent.java:80)
at com.xonami.javaBellsSample.JavaBellsSample$3.run(JavaBellsSample.java:313)

Did I miss something???

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.