Jumbo Headline!

Got something important to say? Then make it stand out by using the jumbo headline option and get your visitor’s attention right away.

Construct a Cell Video Chat Framework With Nex Gen Media Server (NGMS) API

Introduction

Nex Gen Media Server is finest often known as a multi-purpose media streaming server to ship reside and saved video to quite a lot of gadgets. The identical media server could be embedded right into a cell software to facilitate actual time video communication. Right here we’ll use the NGMS API to facilitate constructing a video chat shopper for Android gadgets utilizing the Android Software program Developer Package (SDK) and Google Android Native Developer Package (NDK).

PUBG APK

Pre-requisistes

This text assumes that you’ve got a primary understanding and not less than an intermediate degree of expertise constructing Android apps. I cannot go over the main points of establishing and Android mission in an iDE akin to Eclipse. If in case you have beforehand created Android apps, or not less than went by way of some instance tutorials it’s best to have the ability to make the most of this tutorial to create a real-time video streaming shopper.

If you have not already finished so, you’ll need to obtain the Google Android SDK (Software program Developer Package). On this instance I used Revision 15 on a Linux 32bit machine. The java software layer is used to create the precise Android app. The app code will interface with a JNI layer to invoke the NGMS API routines.

Additionally, you will have to obtain the Google Android NDK (Native Developer Package). On this instance I used Revision 6b on a Linux 32bit machine. The NDK can be used for creating the native interface layer which serves because the glue between the native code and Java software code. You also needs to have a primary perceive of the C programming language.

You must first start by making a skeleton Android software utilizing an IDE akin to Eclipse. On this instance, the appliance can be referred to as ngmsclient. The Java package deal identify can be referred to as com.instance.ngmsclient and can goal Android OS 2.three or greater. The basis mission listing ought to comprise a folder referred to as “jni” which can comprise the native sources used to interface with the Java software code. The instance under assumes that you’ve got a skeleton Android app working and can present you easy methods to combine an ExampleChat class into your Android mission.

The Native Layer

The NGMS core embedded library is written in C and is packaged as a shared object file. For the reason that Android OS is predicated on Linux, the NGMS core library will run natively inside your Android software house. You have to to acquire the NGMS core library for Android OS from the ngmsvid.com web site. The important parts are the library information libngms.so, libxcode.so, and the header file ngmslib.h. The ngms bundled.so information can be packaged alongside together with your ngmsclient.apk to offer video chat providers.

 

Leave a Reply

Your email address will not be published. Required fields are marked *