GStreamer common layer design

From RidgeRun Developer Wiki

Introduction

The above diagram is the design of the GStreamer layer for the RidgeRun's Mobile Framework. This is a modular design where is possible to add more types of streams and types of media formats; for now is only supported a RTSP stream and the H264 media format. One of the more important things that is in this design is the use of 'Design Patterns' that are solutions for common problems or situations in the software development.

Design Patterns

The following are the design pattern implemented:

  • Factory Pattern: this is a pattern that deals with the creation of object of similar characteristics.
  • Observer Pattern: in this pattern we have two different roles: one is a subject and other is an observer. One subject could have multiple observers and notify them for any change.