Sunday, February 12, 2012

Using the Nex Gen Media Server (NGMS) API to Integrate Video Streaming Into Your Own C/C++ App

Introduction

Recently I took a closer look at Nex Gen Media Server (NGMS) and their API framework. NGMS is a multi-purpose streaming server which supports some of the popular streaming protocols such as RTSP, RTMP, Apple's HTTP Live, and MPEG-2 Transport Stream. NGMS comes with transcoding support and is able to capture and reformat live video streams and adapt them to be received by another type of device, such as capturing an HD video feed and converting it to be received by an iPhone Application I had to include "ngms/include/ngmslib.h" into my code.

Create An Iphone App

When building my application I had to include the libraries ngms/lib/libngms.so and ngms/lib/libxcode.so. It seems that libngms.so also depends on libcrypto.so, which needs to be specified in the linker options.

Here is the simple makefile that I'm using:

#Example Makefile

CC=gcc
CFLAGS=-ggdb
INCLUDES+= -I ngms/include
LDFLAGS+= -L ngms/lib -lngms -xlcode -crypto

all: myapp

Using the Nex Gen Media Server (NGMS) API to Integrate Video Streaming Into Your Own C/C++ App

No comments:

Post a Comment