cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
695
Views
0
Helpful
3
Replies

Media Stats parameters and Audio peripherals for WebEx Android SDK

kmarimuthu
Level 1
Level 1

I'm working on an Android app with the Webex Android SDK. I have 2 queries related to the usage.

1). I need to retrieve Media Stats like Codec, Jitter, RTT, and Bitrate for an active call within my app. However, I'm unable to locate a relevant method within the SDK documentation (SDK (webex.github.io)) to access these Media Stats. Is there any available option or method to fetch these Media Stats?

2). I need to use the host machines Audio peripherals (Speaker and Microphone) for making call, since I am running this app in WSA (Windows Subsystem for Android) in Windows 11 machine.

Your assistance would be greatly appreciated. Thanks in advance!

3 Replies 3

kmarimuthu
Level 1
Level 1

Hi @sandiban ,

First of all Thanks for the response, now I am clear with my question 2, so coming to the 1st question what I meant in my previous comment is the Statistics parameters for Audio, which is the option available in the WebEx application for Desktops and Phones under the Statistics option during the active call, I need to fetch the Statistics parameters for Audio (like Codec, Bitrate, Latency, Packets Loss, Jitter) in a regular interval throughout my active call, this is what I am trying to achieve through SDK.

1. Statistics Option during Active Call

kmarimuthu_0-1702548721408.png

 

2. Audio Statistics Parameters available after choosing Statistics Option

kmarimuthu_1-1702548741989.png

 

Thanks, and Regards!
Karthikeyan

Thanks for the background @kmarimuthu and thanks for sharing reference screenshot !
Comparing with this screenshot, I don't think this can be achieved currently through Android SDK.
As I was mentioning yesterday, you can check SDK Call logs to understand how thing has worked in detail after the call is done and to enable the Log in SDK, you can find the details here - https://developer.webex.com/docs/sdks/android-v2#troubleshooting-the-android-sdk

However, it doesn't have currently such Diagnostics data for a live call to refer on the go, but you can raise a feature request for this item.
Public Feature request could be raised from our AHA portal here - https://ciscocollabcustomer.ideas.aha.io/ and in case you raise one, kindly let us know here so that we can forward it to the Product Manager for the Android SDK for quick review.

But implementation of such process, definitely it might take some time in case Product team set a priority & roadmap for it.

Regards!
Sandip

sandiban
Cisco Employee
Cisco Employee

Hi @kmarimuthu,
Thanks for your patience so far!
First, taking your Question 1 - so, could you kindly confirm what exactly you mean the "Media Stats"  details, is it like you want to understand if Call connectivity through Bluetooth headset is working or, not or, screen share is correctly completed or, not - such kind of details?
Not sure exactly on that part, could you kindly confirm once on this area!
If this is regarding the same as I explained, then you can check the Android SDK logs right, the logs will exactly give you the result.
There is a function - 

public final enum class AudioOutputMode private constructor() : kotlin.Enum<com.ciscowebex.androidsdk.phone.Call.AudioOutputMode> {
    PHONE,
    HEADSET,
    SPEAKER,
    BLUETOOTH_HEADSET;
} 

If things are working fine, then this function details in the Log will say it all.
But let us know if you meant "Media Stats" as something different.

And coming to your question 2, I don't think such machine peripherals would be supported for Mobile SDK.
You only need to perform the task directly from your Android device to make proper use of the Media devices. In case you run it on the other Computer system, then such input-output devices won't be supporting the App in proper manner and you'll not receive the outcome as you expect.
Because the Mobile SDKs are designed to be behaved that way.

Hope this helps.
But feel free to let us know for any further assistance.

Regards!
Sandip