Android sdk problem. "A Call is in progress. You can only adjust call volume"

mbedial

Member
Hi,

We are using WCS 1.0.1.35 for Android and we have noticed that when a call is finished in some devices (Xiaomi) an annoying inapp notification appears:

"A Call is in progress. You can only adjust call volume"

and this notification sometimes can't be closed...

To end a call we run the methods:

call.hangup();
session.disconnect();

Also tested with wcs-android-sdk-1.1.0.16-release.

What can we do in order to not show this notification?

Thanks in advance
 

Max

Administrator
Staff member
Good day.
Please try to use Flashphoner.releaseLocalMediaAccess() function to make sure the microphone and camera are released. See Media Devices example source code:
Java:
        mTestButton.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                if (mTestButton.getTag() == null || Integer.valueOf(R.string.action_test).equals(mTestButton.getTag())) {
                    ...
                } else {
                    Flashphoner.releaseLocalMediaAccess();
                     ...
                }
            }
        });
If this does not help, it seems like Xiaomi MIUI bug (see duscussion here and here).
 

mbedial

Member
Hi Max,
thanks for your answer.
Unfortunately,
It's still happening when callingcall.hangup();
session.disconnect();
Flashphoner.releaseLocalMediaAccess();
at the end of the call.

It seems to be a Xiaomi bug :-8

Thanks
 
Top