C++ Media Streaming Libraries for Linux


Introduction

This page is only about native C++ libraries. If you're looking for .NET Core/5/6 solution then refer to our dedicated .NET page for details.

VASTreaming offers a number of streaming libraries in C++ compatible with Linux.

Streaming Server

Streaming server is an easy to use, all-in-one solution for a server application tailored to customer needs. Only single-protocol RTMP and RTSP servers for Linux are available on Linux at the moment.

See server library page for more details about the available features as well as our implementation details and specifics.

RTMP Protocol

RTMP is an old protocol, owned by Adobe and tightly bound to Flash technology from the very beginning of its existence. Even though Flash has been deprecated after dominating over the content rich web for many years, RTMP is still alive. It is due to the fact that RTMP supports so-called publishing when a live media stream is pushed by a client to a server for further distribution. Many modern protocols lack this publishing feature.

Starting from the Flash days, existing server infrastructure still uses RTMP and will be using it for a long time. YouTube, Facebook, Twitch - you name it, all of them use RTMP ingestion for live streams. If a future app is expected to provide their user with a feature of publishing video streams in social networks, it should use RTMP. Therefore, investing into a RTMP library is not a waste of money but quite the opposite. In fact, it guarantees the compatibility with most popular content distribution networks.

VASTreaming RTMP library for Linux provides the ability to publish a live stream to RTMP server, pull and watch a stream from RTMP server as well as run RTMP server with the ability to ingest published streams and re-distribute streams to connected clients.

See RTMP library page for more details about the protocol itself as well as our implementation details and specifics.

RTSP and RTP Protocols

RTP and RTSP are among the oldest streaming protocols. But they are still actively used because of such protocol features as low latency (in regard of RTP) and support of so-called publishing (in regard of RTSP) when a live media stream is pushed by a client to a server for further distribution. Many modern protocols lack this publishing feature, because already created ones work well enough covering all needs for video streaming software development.

RTSP found wide adoption in security while RTP is actively used in VoIP. Even the relatively fresh WebRTC utilizes RTP as a media transport. So, there is no lack of applications for both RTSP and RTP protocols. Their wide popularity guarantees wide compatibility for new software products using them.

VASTreaming RTSP library for Linux provides the ability to publish a live stream to RTSP server, pull and watch a stream from RTSP server as well as run RTSP server with the ability to ingest published streams and re-distribute streams to connected clients.

See RTSP library page for more details about the protocol itself as well as our implementation details and specifics.

MP4 Files

VASTreaming MP4 reader and writer library for Linux is a flexible and highly configurable library to read and write MP4 files and MP4 fragments. MP4 file reader and writer for Linux can be easily paired with our streaming clients and servers to provide either streaming source or streaming sink (recording) functionality.

See MP4 library page for more details about our implementation.

TS Protocol and Files

Transport stream (TS) is not a streaming protocol but a media format most suitable for streaming or media transmission systems. HLS as well as other protocols, most notably MPEG-DASH, utilizes TS for media data segments. In addition to that, TS itself can be used for direct streaming via multicast or even via pushing it by HTTP server (so-called TS over HTTP).

See TS library page for more details about the protocol itself as well as our implementation details and specifics.

Implementation

VASTreaming streaming library for Linux is written in C++ for maximum performance and easiest integration into existing Linux projects.

For customer needs, any custom streaming features could be easily implemented with this library, including streaming protocol extensions.

Don't hesitate to contact us to request a demo applications and a demo projects.

contact us

info@vastreaming.net