question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android SDK. There's already another call in progress. Please end it first and try again.

See original GitHub issue

Hello,

Android SDK 19.4.0. I have found that when my application launches the Activity that extends JitsiMeetActivity JitsiMeet works well with both the Jitsi server endpoint (https://meet.jit.si) and my own server endpoint. This setup uses the default Jitsi UI like the welcomepage.

However, if i launch this activity from another custom activity (my own welcome page), the first join attempt is successful but every subsequent join attempt after the first successful join fails with a dialog displaying that says:

“There’s already another call in progress. Please end it first and try again.”

This doesn’t make sense as to return to the previous activity that the join button exists on, I must first have had to End the call.

What is so different between the Apps default activity launcher being the activity that extends from JitsiMeetActivity as opposed to launching that activity through an intent?

Update: The call connection is being retained after hanging up the call. I exposed the method abortConnections() in ConnectionService and trigger it and wait for the logs from ConnectionImpl, onDisconnect() to confirmed state disconnected. After doing this, the next subsequent attempt to join a conference is successful.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Oct 8, 2019

There you go 😃

The default options apply to all conferences, adn are re-applied after one ends. Because you are setting a room there, it will re-join it. I’ll try to come up with something to make this more obvious, or throw an exception.

You must create a new object which you pass to join, and call setRoom on that one.

Same goes for setUserInfo. Just set the server on the default ones.

0reactions
akshatakki2000commented, Jul 3, 2021

Can you explain more as to how to call leave() is it a predefined function? if not what all to add?

Read more comments on GitHub >

github_iconTop Results From Across the Web

there's already another call in progress on Jitsi Meet Android ...
There's already another call in progress. Please end it first and try again”. This message appears for every room names that we try...
Read more >
Android "A Call is in Progress" notification issue - Stack Overflow
I created a chat application that uses Twilio Sdk. Everything works fine but after a Video Call ends, I get this notification which...
Read more >
Known issues with Android Studio and Android Gradle Plugin
This page tracks known issues with Android Studio Dolphin | 2021.3.1 and Android Gradle plugin 7.3.1. If you experience an issue not already...
Read more >
Fix WhatsApp Error: You Cannot Place Another Call
If WhatsApp says you're already engaged in another call, clear the cache, delete junk files and restart your phone.
Read more >
How to Install Android Studio IDE & SDK and Get Started with ...
Android SDK Platform-Tools (33.0.0); Intel x86 Emulator Accelerator (HAXM installer). 3. Write your First Android App. Android apps are written in Java ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found