Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for documentation: Connecting to Jitsi from a node.js application. #5559

Closed
JamesNewton opened this issue Apr 1, 2020 · 4 comments
Closed
Labels
documentation Issue related to documentation wontfix Issue won't be fixed

Comments

@JamesNewton
Copy link

Is your feature request related to a problem you are facing?

We are attempting to add support for Jitsi to a FOSS (Free Open Source Software) robot control IDE so that robots can be controlled in Jitsi calls for remote access and collaboration. This will enable remote medical treatment or other similar applications over the internet with our FOSS robot arm and may well save lives.

So far, after reading the (massive) xmpp spec and the (massive) documentation available for Stroph.js, (we can't find any documentation on how to connect to Jitsi, but we've spent hours searching and reading through the repo) and trying what seems like hundreds of different things, this is as far as we have been able to get. When we run the code below, we get

1 CONNECTING
3 AUTHENTICATING
2 CONNFAIL
6 DISCONNECTED

var conn = new Strophe.Connection("https://meet.jit.si/http-bind")
conn.connect('massmind@meet.jit.si/cfry', //fake jid, that's ok right?
             "", //don't need password?
             function(status_code) { //status_code is a small non-neg integer
                   console.log("connected with status: " + status_code + " " + strophe_status_code_to_name(status_code))
             }) 

Describe the solution you'd like

We are requesting additional documentation / example code (especially in node.js) for how to connect to Jitsi from an external application. Any help would be deeply appreciated. We think the issue has to do with how Jitsi avoids authentication? Uses do NOT need to sign up, but somehow the meet.jit.si server is requiring us to authenticate.

Describe alternatives you've considered

We have posted a request on the community and have recieved a few responses, but our progress there appears to have stopped.
https://community.jitsi.org/t/inserting-locally-connected-device-data-into-chat/24118

We have posted again today, but don't hold out much hope of resolving this issue there:
https://community.jitsi.org/t/authentication-fail-on-connect-but-jitsi-doesnt-require-authorization/28566

@stale
Copy link

stale bot commented Aug 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Issue won't be fixed label Aug 22, 2020
@stale stale bot closed this as completed Aug 29, 2020
@jandrieu
Copy link

jandrieu commented Oct 2, 2020

Try lib-jitsi-meet https://github.com/jitsi/lib-jitsi-meet

Looks solid, but I haven't tried it yet. I found it in the same search that led to your initial post here.

@JamesNewton
Copy link
Author

Sadly, the system expects chat messages to come through a browser interface only. Even in their app, they use a browser object inside electron. There may be some way to send chat messages (containing non-video / audio data) but we couldn't find it after hours and hours of looking. We rolled our own system using BOSH on a free google server:
HaddingtonDynamics/Dexter#31 (comment)

@satendrasingh51
Copy link

How to manage jitsi in node js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issue related to documentation wontfix Issue won't be fixed
Projects
None yet
Development

No branches or pull requests

4 participants