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

Upgrading CISCO SDK from 2.8 to 3.7 : App got crash while join the call in Android CISCO sdk 3.7 #128

Open
CDL24 opened this issue Nov 17, 2022 · 6 comments

Comments

@CDL24
Copy link

CDL24 commented Nov 17, 2022

Hello Team,
When i am going to join a video call app will get crashed.
I need one clarification here:
My code written in java using CISCO android sdk 2.8 version which is working fine. Now we are upgrading CISCO sdk to 3.7.0.(which is written in kotlin)
First thing can i integrate CISCO android SDK 3.7 in to my existing Java code ?

** webExAgent.getWebEx().getPhone().dial(spaceId, MediaOption.Companion.audioVideo(localVideo, remoteVideo), new CompletionHandler<Call>() {
                        @Override
                        public void onComplete(Result<Call> result) {

                            if(result.isSuccessful()){
                                Log.i("Call", "===onComplete: ");
                            }
                        }
                    });**

above is the code how i am calling dial() method from Java code. This code will cause a crash.
Below i am attaching evaluated error screenshot while debugging above code

Screenshot 2022-11-17 at 4 11 00 PM

@jbenyovs
Copy link

@CDL24 please review the Migration Guide from SDK 2.x to 3.x here https://github.com/webex/webex-android-sdk/wiki/Migration-Guide-from-SDK-2.x-to-3.x , it should help you with moving from Android 2.x to 3.x .

@CDL24
Copy link
Author

CDL24 commented Nov 21, 2022

Hello,
@jbenyovs thanks for the reply.
Now I am trying to use 3.7 SDK with kotlin code and when i am executing call joining code app is crashing.

** webExAgent.getWebEx().getPhone().dial(spaceId, MediaOption.Companion.audioVideo(localVideo, remoteVideo), new CompletionHandler() {} **
this code causing crash.

Below attached console log. Can you please help.

Screenshot 2022-11-21 at 9 48 06 AM

@jbenyovs
Copy link

@CDL24 can you please test the https://github.com/webex/webex-android-sdk-example sample as well? That should give you a good blueprint about how the calling function should work. Please test the behaviour there and if it works, then replicate the code from there, the sample is also on 3.7.0 already.

@CDL24
Copy link
Author

CDL24 commented Nov 22, 2022

Yes @jbenyovs i am referring the sdk 3.7.0 kitchen sink app code.
I am now able to authorise jwt token and able to initialise webex object.

The process flow at my side is below one :

  1. Initialize jwtAuthorization and webex object
  2. Initialize webex sdk
  3. Authorizing user by jwt token
  4. initiate call by providing spaceId
    but somehow dial() method gives error in response

below i am attaching error object. Can you please help why i am unable initiate call. Any clue is helpful for me to go ahead. Thanks in advance.
Screenshot 2022-11-22 at 6 21 24 PM

@jbenyovs
Copy link

@CDL24 based on so little info it's difficult to tell what might be the issue here. Can you please open a dev support ticket with us on [email protected] and send us the full verbose logs from the KitchenSink app?

@Stackflood
Copy link

@CDL24 , we are not able to even start the app after the upgrade. Its crashing and showing this issue : #127

Can you please help ?

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