Code Monkey home page Code Monkey logo

webex-android-sdk-example's Introduction

Cisco Webex Android SDK Example

This Kitchen Sink demo employs Cisco Webex service through Webex Android SDK. It provides a developer friendly sample implementation of Webex client SDK and showcases all SDK features. It focuses on how to call and use Webex-SDK APIs. Developers could directly cut, paste, and use the code from this sample. It basically implements Webex-SDK APIs by sequence.

This demo support Android device with Android 7.0 or later

Table of Contents

Screenshots

  1. ScreenShot-1: Main page of Application, listing main functions of this demo.
  2. ScreenShot-2: Initiate call page.
  3. ScreenShot-3: Show call controls when call is connected.
  4. ScreenShot-4: Video calling screen
  5. ScreenShot-5: Teams listing screen
  6. ScreenShot-6: Space related option screen
  7. ScreenShot-7: Space listing screen
  8. ScreenShot-8: Send Message screen

Integration

Option 1

  1. Put AAR file in libs folder of your Android project

  2. Open the project level Gradle file and add the following lines under the repositories tag, which is nested under allprojects.

    allprojects {
      repositories {
          jcenter()
          google()
          flatDir { dirs 'aars'} //add this line
      }
    }
    
  3. Add the following dependency in module level Gradle file and press sync-now

    • For Full SDK
        implementation files('libs/WebexSDK.aar')
      
    • For Meeting SDK
        implementation files('libs/WebexSDK-Meeting.aar')
      
    • For WebexCalling SDK
        implementation files('libs/WebexSDK-Wxc.aar')
      

Option 2

  1. Add the following repository to your top-level build.gradle file:

    allprojects {
        repositories {
            jcenter()
            maven {
                url 'https://devhub.cisco.com/artifactory/webexsdk/'
            }
        }
    }
    
  2. Add the webex-android-sdk library as a dependency for your app in the build.gradle file:

    • For Full SDK
      dependencies {
          implementation 'com.ciscowebex:webexsdk:3.11.3'
      }
      
    • For Meeting SDK
      dependencies {
      implementation 'com.ciscowebex:webexsdk-meeting:3.11.3'
      }
      
    • For WebexCalling SDK
      dependencies {
      implementation 'com.ciscowebex:webexsdk-wxc:3.11.3'
      }
      

Usage

For example see README

Note

Please update the below constant in gradle.properties

SCOPE=""

Please update below constants in local.properties file

CLIENT_ID=""
CLIENT_SECRET=""
REDIRECT_URI=""
WEBHOOK_URL=""

webex-android-sdk-example's People

Contributors

alicexdiao avatar ankibatr avatar ciscorankush avatar dengqiming avatar jpjpjp avatar kliu avatar knamoach avatar kunniu avatar lasharm2 avatar minli5 avatar raghsund avatar rohits5-cisco avatar xionxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webex-android-sdk-example's Issues

Proguard

Here the proguard rules

-keep class com.webex.** { ; }
-keep class com.ciscowebex.androidsdk.
* { ; }
-keep class com.cisco.
* { *; }

Multistream support

Hello everyone,

Can you help me, I tried to run this example, call to webex room but I don't see the auxiliary streams on the tabs?

I receive the following message on the log
2020-04-14 07:45:42.012 10272-10272/com.ciscowebex.androidsdk.kitchensink D/WmeSession:199: main Remote SDP for video is multistream? false

Please, Can anyone help me guide how to enable it?

I cannot see the shared screen of the sender

Hello friends, I am trying to put in the remoteView the screenShare of the sender or the one that created the meeting. Try as I might, I can't pass the stream from the screenShare to the remoteView.

Look at the SDK information in the documentation and I can't find a topic regarding what I'm trying to do.

I'm doing this as I've no way to see the shared screen of the sender from the demo app.

unknown

How to show Host shared content screen

How can we show only shared content screen by host and audio ?
We are planning to integrate webex to our existing tv app ( multiple tv's)
i don't see any sample in this example code
any help on this ?

Enable flashlight and allow camera zoom in CallActivity/CallControlsFragment

I'm building my use-case on the KitchenSink app and I have a requirement to enable flashlight and zooming the camera.

If this was supported, it would be available through the Call interface, is this correct? From my understanding, the code which access the Camera instance is hidden in the androidsdk.aar compiled code, so there is no way to access the camera instance from the app.

I could contribute to KitchenSink and the SDK if I could get some guidance.

Does not enter a video call with password.

Hello, I' m trying to enter a Webex call with the meeting password, but the application remains in a loop, in which it does not validate the password that I passed through the "dial" function on the WebexAgent. By placing it in the "AlertDialog", it just doesn't validate it and relaunches the "AlertDialog".

Checking the execution in android studio, I get the following:
WebexError [errorCode = HOST_PIN_OR_MEETING_PASSWORD_REQUIRED, message = 423 / Locked / {"errorCode": 2423006, "message": "Meeting requires a moderator pin or guest pin to join".

Already validate that I am sending you the correct password.
Already validate that the "isModerator" is false for this case.

Any solution for this?

The truth, he enters and makes the connection to a video call that does not have the use of "MEETING PASSWORD". Simply by having a "pin" in the call, it no longer enters and breaks the application.

Connection is established only as a matter of chance.

I have integrated the SDK in one of our apps. When users join a space, they're not connected. The connection is seldom established. Despite having network connection, the connection is not established. Even if it's connected, the audio/video is seldom sent. I have used the code exactly as in the example SDK.

Remote Audio stops playing when minimizing the app

The remote audio stops playing when minimizing the app. Also the local mic doesnt get sent to the remote partner when the app is minimized.

I also called the methods webex.getPhone().enableBackgroundConnection(true) and webex.getPhone().enableBackgroundStream(true).

We also used the sdk on iOS and there we just had to configure the app enabled background modes and it worked.
When sharing the screen from the android device the remote audio keeps playing and also the local mic gets sent to remote.

remote video is not rendering if rejoin in call in SDK v3.0.0

Steps to Reproduce:

  1. user-A join in a call with mobile-A and user-B joins in same call with mobile-b with audioVideo media option.
  2. local and remote videos are rendering fine with audio.
  3. when user-a hang up call and re-join in call, user-A can see user-B.
  4. But user-B who is already in call cannot see user-A video. only audio working.
  5. even after logout and login and rejoin in call also same issue.
  6. but remove app from recent and re-launch the app and rejoin in call working fine.

After authentication - email and password - am getting "We've encountered an error. Try again later.

STEP 1 --> https://ibb.co/6JtkfGm -- selected "webex id". . .
STEP 2 --> https://ibb.co/d7c4Jk8 -- entered email. . .
STEP 3 --> https://ibb.co/FKqCfzT -- entered password. . .
STEP 4 --> https://ibb.co/P4jzyD7 -- THE ERROR. . .

i have got same error multiple times. . . am using https://ibb.co/jMx3sgp "webex/webex-android-sdk-example". . .

https://ibb.co/0jYZCSH
https://ibb.co/hBLJ2JJ
https://ibb.co/K0Jcj35
https://ibb.co/rdd5Cmh
https://ibb.co/sVYfLFQ
https://ibb.co/NW70fqc

Remote video is black

Hi!

When trying to use this android sdk example, I can't see the video remote, but audio works good.
I tried with different users.

Do you have any idea?

Thanks!

When video streaming set off but camera is not off

Hello team,

When video streaming is off from USER1, streaming is off for USER2, but camera is not turning off for USER1.

I am doing following to turn off video streaming.
activeCall.setSendingVideo(false);

Thank you in advance,
Dhrupal

Messages in the Message Fragment do not persist. All the messages will disappear when I click back button & get back to MessageFragment

I'm trying to integrate this sdk into one of our apps. In the messaging option, I can send messages. If I login through webex teams website, I can view the messages I sent. The messages will be received/sent when I'm in the MessageFragment. But if I click back button, the list becomes empty. I don't them those again. How can I persist all the messages received/sent during the session?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.