Skip to main content


Twilio Video Adobe Native Extension - Build your extension - Part 3

By now, you will be having your interface and android library. If you missed how to build interface, look here. If you missed android library building, check our here.

Now let us integrate both code to have our extension.

Create extension directory Create a directory named extension which will hold both wrapper and android libraries and will generate the extension.
Create a sub directory named android.

Copy wrapper library Copy our wrapper library TwilioVideo.swc to extension directory. Also copy library.swf to android folder.

Copy android library Next copy android library(jar type file found in build/classes/artifacts/{artifact name} of your android project) to android directory.

Copy android resource files Our extension need JNI files used by Twilio video to be added as a resource. So download your approriate twilio video version aar file from

Now unzip the downloaded aar file and create a directory named libs inside android dir…
Recent posts

Twilio Video Adobe Native Extension - Building Android Library - Part 2

Now, We have build the interface for our extension. If you missed that part, please take a look here. Follow below steps to build android library.

Create android project Open Android Studio and create an android project. Please give a package name(Here I am using same as wrapper package name) and give the same minimum sdk Twilio video will support. Don't create activity now because we will be creating later.

Add Adobe extension library Now copy FlashRuntimeExtensions.jar file from lib/android directory in Flex SDK directory to app/libs directory in your android project.

Later, you need to add this jar library to your project. Go to File->Project Structure, Under Modules section, select app. Here you can see your project settings.

Under dependency tab, add a new jar dependency and select the jar file we have copied. When you add the jar file, you can see our jar file added in app gradle file.

Add Twilio video Now add latest twilio video(currently available version is 2.1.0). Yo…

Twilio Video Adobe Native Extension - Getting Started with Interface - Part 1

We know Adobe AIR apps doesn't support to add native platform external SDK's directly nor we can call native API's. So we need to create an extension that will help out to do our native stuffs

For couple of months, I have been working on Adobe AIR app and now I need to integrate Twilio's video. So here I will show you how to build an adobe native extension for Android that will make Twilio video call.

First of all, we need to define extension public API wrapper or interface. This API will be accessible from AIR app. Wrapper will be build using actionscript. For wrapper, we need a package name. Here I will be using as my package name.

Create wrapper directory Create a directory named 'wrapper'. Here we will create our extension wrapper.

Create API class to start video Next create a file under ijasnahamed/twilio/video directory. Copy below code to that file

package { import…

Setup Asterisk 13 with FreePBX 13 in CentOS 7

Launch CentOS 7 AWS Ec2 InstanceLog in to your aws consoleGo to ec2 management page and click Launch Instance on Instance pageIn Choose AMI step, go to AWS MarketPlace tab and search CentOS 7 on search field. List of centos 7 ami's will be available.Select CentOS 7 (x86_64) ami which is free tier eligible. Select your instance type and click configure instance. Keep default values from Configure Instance to Add Tags stepsIn configure security group, create a security group which allow minimum ports openSSH : port 22HTTP : port 80Custom UDP Rule : 10000-20000 (if you are giving RTP ports 10000-20000)Custom UDP Rule : 5060 (ChanSIP port)Custom TCP Rule : 5060 (ChanSIP Port)Click Launch Instance. Select your key file and accept terms to launch instance.
Setup CentOS Server SSH into newly created CentOS server with username centos and your key file.Update all existing packagessudo yum update -yNow start http service(you can access your server via browser by going to your server ip addres…