Giter Club home page Giter Club logo

android-sdk-demo's Introduction

android-sdk-demo

This is a demo project for the Voximplant Android SDK.

The project highlights all important features of the SDK usage:

  • initialization including PUSH notification support
  • connecting to the Voximplant Cloud
  • logging in
  • initiating and accepting calls audio and video calls
  • video conferencing

In order to build a demo clone this repository and open it as an Android Studio project.

References

  1. Voximplant Android SDK documentation
  2. Quick start for Voximplant Android SDK
  3. Instructions to add Voximplant push notifications to an Android project

Branches

  1. master - base functionality for audio and video calls
  2. master_push_notifications - base functionality and push notifications support

Have a question

android-sdk-demo's People

Contributors

vladimirbrejcha avatar yuliagrigorieva avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

lospejos ramwhite

android-sdk-demo's Issues

How can I use voximplant sdk and original webrtc sdk?

Hello.

I try to use voximplant sdk and original webrtc sdk, but when i try build project, i have exception:

Execution failed for task ':app:checkDevDebugDuplicateClasses'.
> 1 exception was raised by workers:
  java.lang.RuntimeException: Duplicate class org.webrtc.AudioProcessingFactory found in modules classes.jar (org.webrtc:google-webrtc:1.0.28032) and webrtc.jar (com.voximplant:voximplant-sdk:2.11.2)
  Duplicate class org.webrtc.AudioSource found in modules classes.jar (org.webrtc:google-webrtc:1.0.28032) and webrtc.jar (com.voximplant:voximplant-sdk:2.11.2)
...

Can you help me, how i can use both sdk?

Sending extra data from caller to receiver

Hello,

I'm using the android SDK demo and i need to send extra data or headers form the caller and i want the receiver to access this data is there a way to do this in the SDK ?
I have tried the callsettings extra hearders but the receiver doesn't get the data.

Thanks in advance.

onRemoteVideoStreamRemoved is not triggered

IEndpointListener has a callback method onRemoteVideoStreamRemoved(). However, when I use sendVideo(false, ICallCompletionHandler) on an ICall, the video stream is not removed and just freezes for the recipient because presumably bytes are no longer transmitted. Is there some specific method that should be called in order to trigger onRemoteVideoStreamRemoved()?

I'm using the latest version 2.17.0.

HardwareVideoEncoderFactory crashes for under API 19 devices

Hello,
There is a issue about API 19 and below devices. After calling Voximplant.getClientInstance(...),
got this crash for only API 19 and below devices. Any idea about this crash and any solution about it. The stacktrace is below.

Thanks in advance

org.webrtc.HardwareVideoEncoderFactory.isSupportedCodec (HardwareVideoEncoderFactory.java:171)

  | org.webrtc.HardwareVideoEncoderFactory.findCodecForType (HardwareVideoEncoderFactory.java:157)
  | org.webrtc.HardwareVideoEncoderFactory.getSupportedCodecs (HardwareVideoEncoderFactory.java:120)
  | org.webrtc.DefaultVideoEncoderFactory.getSupportedCodecs (DefaultVideoEncoderFactory.java:48)
  | com.voximplant.sdk.internal.call.PCFactoryWrapper.createPeerConnectionFactoryInternal (PCFactoryWrapper.java:153)
  | com.voximplant.sdk.internal.call.PCFactoryWrapper.createPeerConnectionFactory (PCFactoryWrapper.java:73)
  | com.voximplant.sdk.internal.Client. (Client.java:107)

Login Credentials

When i run this application in android device , Application ask for the login credentials i have tried my voximplant account credentials but it's not working

How to handle the calls when device is locked.

I exactly followed this demo for implementing calls on Android. There is a quite big issue which I don't have any solutions for and would be happy if you could help me.

• When a Firebase notification arrives, the app tries to open an Activity. Unfortunately, opening activities when the app is not in the foreground is prohibited in recent versions of Android.

Official documentations suggests using one of a few services.

Does VoxImplant have plans to integrate this into the SDK? This is one of the most needed features for an app which uses VoxImplant SDK.
How can we notify the user of a call if the app can't be shown?

Callback methods for Signaling: SEND, Signaling: onMessage events

Hi!

I am implementing a call application. I need to change UI behavior for two cases during the dialog:

  • when a user is receiving an audio message
  • when a user sends an audio message.

I want to have callbacks like:

  • onMessageReceiving()
  • onMessageRecording()

Now I am implementing ICallListener and override onMessageReceived callback but seems that it doesn't receive this event.

I checked SDK logs and found:

D/VOXSDK: Signaling: SEND: {"name":"__ping","params":[]}
D/VOXSDK: Signaling: onMessage: {"name" : "__pong" , "params" : []}
V/VOXSDK: Call

Is there is any case I can handle these events in my code? Thanks.

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.