Skip to content

This is a 1:1 iOS audio/video calling that has ability to share log files to your customized endpoint via POST API

Notifications You must be signed in to change notification settings

ibrahimmalhas/Android-Video-Calling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

page_type languages products
sample
java
azure
azure-communication-services

Quickstart: Add voice calling to your Android app

For full instructions on how to build this code sample from scratch, look at Quickstart: Add voice calling to your Android app

Prerequisites

To complete this tutorial, you’ll need the following prerequisites:

Code Structure

  • ./app/src/main/java/com/contoso/acsquickstart/MainActivity.java: Contains core logic for calling SDK integration.
  • ./app/src/main/res/layout/activity_main.xml: Contains core UI for sample app.

Object model

The following classes and interfaces used in the quickstart handle some of the major features of the Azure Communication Services Calling client library:

Name Description
CallClient The CallClient is the main entry point to the Calling client library.
CallAgent The CallAgent is used to start and manage calls.
CommunicationTokenCredential The CommunicationTokenCredential is used as the token credential to instantiate the CallAgent.

Before running sample code

  1. Open an instance of PowerShell, Windows Terminal, Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.
  2. git clone https://github.com/ibrahimmalhas/Android-Video-Calling.git
  3. you need to replace "<USER_ACCESS_TOKEN>" with the User Access Token you created in prerequisites.
  4. you need to replace "<YOUR_DEVTUNNEL_ENDPOINT>" with your devtunnel endpoint URL that will recieve the blog files

Run the sample

Open the sample project using Android Studio and run the application.

Final look and feel of the quick start app

You can make an outbound VOIP call by providing a user ID in the text field and tapping the Call button. Calling 8:echo123 connects you with an echo bot, this is great for getting started and verifying your audio devices are working.

##Application workflow with log file sharing

  • When user press "Report an issue", a new view will appear to add issue descreption.
  • When pressing on "Submit" button, a post method will go to "ACSNativeLogsCollector" application sending the issue descreption and all the .blog files to the machine that hosted that application.

title

Here is a screenshot that shows the files sent to the ACSNativeLogsCollector, txt file for issue descreption and blog file for the logs.

title

About

This is a 1:1 iOS audio/video calling that has ability to share log files to your customized endpoint via POST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages