When the user has selected to either call in or have the SDK call them with success and then attempts to disconnect the audio using InMeetingAudioController.disconnectAudio(), the audio does not actually disconnect. The MobileRTCSDKError being returned is SDKERR_SUCCESS so there is no additional information to go on.
Which Android Meeting SDK version?
To Reproduce(If applicable)
Steps to reproduce the behavior:
This is using a custom UI for In Meeting.
Start a meeting
Connect audio through phone audio either call me or call in
Call the InMeetingAudioController.disconnectAudio() method
Observe the audio doesn’t disconnect with no error provided
I haven’t found anything else I could try past this.
Smartphone (please complete the following information):
Since disconnectAudio is meant to be used with IP audio only, this seems like mostly expected behavior to me. It does seem like a small bug that this method’s return value is success, but the underlying behavior sounds correct to me.
Unfortunately cancelDialOut will not work as it only cancels a dial out operation currently in progress before the audio connects. We are specifically looking for how to disconnect the audio regardless of source (IP/Dial In/Dial out). The behavior we need is that which exists in the Zoom mobile application today when the user selects the “more” option during a meeting and then selects disconnect audio. In the app all audio types are disconnected successfully.
If the purpose of disconnectAudio is truly just for IP audio it should probably be refactored to a method name that reflects that as well as documentation updates that point that out; currently it reads “Disconnect the audio.” which seems to imply any audio type.
I do think having a method to disconnect all audio types would be very useful in the SDK. Does that exist anywhere or could it be planned for a future release?