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

Conversations -> JSXC call not connecting? #1014

Open
Tuxicoman2 opened this issue Jan 21, 2021 · 5 comments
Open

Conversations -> JSXC call not connecting? #1014

Tuxicoman2 opened this issue Jan 21, 2021 · 5 comments

Comments

@Tuxicoman2
Copy link

Expected behavior

I expect to call from Conversations to JSXC using audio call

Actual behavior

JSXC receives the call and ask to accept it. I do.
Then JSXC and Conversations are stuck in the process and the audio never start.
Conversations tells "Connection in progress"

If I do the other way around, I call from JSXC to Conversations using audio call. it works fine.

Steps to reproduce the behavior

I call from Conversations to JSXC using audio call
I tested from a laptop with webcam and a desktop without webcam. The beahvior is the same.
The XMPP/Web server and devices are on the same LAN.

Environment

  • rev 8ad6882 at 19 january 2021
  • Debian Nginx Prosody
  • Firefox 78 ESR

Logs

Javascript

Once I click on closing the call on JSXC (red phone icon)i have this error as a side effect:

Uncaught TypeError: a.videoElement is undefined
removeStream https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
on https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
emit https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
onRemoveStream https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
onSessionTerminate https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
onSessionTerminate https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
processingQueue https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
un https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
process https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
s https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
d https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
p https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
p https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2
s https://jesuislibre.net/xmpp/jsxc/jsxc.bundle.js:2

JSXC

[Debug] update window encryption state to Plaintext jsxc.bundle.js:2:122407
[mam][Debug] test@jesuislibre.net supports urn:xmpp:mam:2 jsxc.bundle.js:2:122407
WebRTC: onaddstream is deprecated! Use peerConnection.ontrack instead. jsxc.bundle.js:2
[Debug] [JINGLE][log:debug] HjeVRXYVqw4OCg0kuVp0ug: session-initiate jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Initiating incoming session jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Changing session state to: pending jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Track added jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Stream added jsxc.bundle.js:2:122407
[Debug] incoming call from xxx@jesuislibre.net/Conversations.eRF1 jsxc.bundle.js:2:122407
[Debug] Drop notification, because client is visible. jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Ringing on incoming session jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:debug] HjeVRXYVqw4OCg0kuVp0ug: transport-info 10 jsxc.bundle.js:2:122407
[Debug] close dialog jsxc.bundle.js:2:122407
[Debug] No local video device available jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Accepted incoming session jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Changing session state to: active jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Discovered new ICE candidate 2 jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Discovered new ICE candidate 2 jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Changing connection state to: connecting jsxc.bundle.js:2:122407
[Debug] connection state for HjeVRXYVqw4OCg0kuVp0ug connecting jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: Discovered new ICE candidate jsxc.bundle.js:2:122407
[Debug] [JINGLE][log:info] HjeVRXYVqw4OCg0kuVp0ug: ICE end of candidates jsxc.bundle.js:2:122407

XMPP

Host

@Tuxicoman2
Copy link
Author

Works fine on Chromium 83

@Tuxicoman2
Copy link
Author

Tuxicoman2 commented Jan 21, 2021

But doesn't work on Firefox 84 :-(

@sualko
Copy link
Member

sualko commented Jan 21, 2021

If you are connected will multiple clients Conversation will use XEP-0353: Jingle Message Initiation which is currently not supported, see #890. Is this the case for you?

@Tuxicoman2
Copy link
Author

Tuxicoman2 commented Jan 25, 2021

Maybe that was because I closed a web tab where I had JSXC running a few seconds before and Conversations didn't notice it.

I tried again using a browser where I just open a single JSXC, (no other opening since hours before), and I reproduce the same behavior. What debug info could I produce more or where should I debug do go forward in your opinion?

Best regards,

@baraganx
Copy link

baraganx commented Feb 1, 2021

it seems to be a firefox problem, movim xmpp client has the same symptoms

movim/movim#957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants