In part 1 of this series of blog posts, I introduded the concepts of using Solace for video streaming .In this second installment of the live video streaming over Solace series, let’s take a look at a simple streaming demo application called BroadcastMe. Its designed to show how live video streaming can be implemented over Solace. The usage scenario is to multicast video from a single broadcaster to multiple stream viewers. The source code can be downloaded from Github.
Live video streaming is a little different from conventional video file playback. Stream video is usually transported using MPEG transport stream (MPEG-TS, MTS or TS). Very briefly, a transport stream specifies a container format which describes how to encapsulate packetized elementary streams with error correction and stream synchronization features. Within the transport stream, there are a number of sub-streams. For instance, a transport stream can contain a main data stream of MPEG codec (such as mpeg2, mp4, h264), as well as any number of non-MPEG codecs (such as ACS, DTS audio) or even text information like electronic program guide.… Read the rest