Meego Wiki
Views

UMMS Architecture

From MeeGo wiki
Revision as of 05:36, 19 December 2011 by Wuzhiwen (Talk | contribs)
Jump to: navigation, search

UMMS Architecture

Introduction

This page describes the architecture of Universal Multi Media Service (UMMS).
UMMS general description can found on its main page

Class Diagram

          -------------------
          |UmmsObjectManager|
          -------------------
                  ^
                  v
                  |
         --------------------               -------------------------
         | MediaPlayer      |    <> ------- |   MediaPlayerControl  |
         --------------------               -------------------------
                  ^                            ^                 ^
                  V                            |                 |
                  |                            |                 |
         ----------------------------      Implement         Implement
         | PlayerControlFactory     |          |                 |
         ----------------------------          |                 |
                                               |                 |
                                      ---------------------   ------------------------
                                      | PlayerControlBase |   | DvbPlayerControlBase |  <--------------
                                      ---------------------   ------------------------                |
                                        ^         ^                       ^                           |
                                        |         |                       |                         ------------------------------------
------------------------------          |         |                       |                         | DvbPlayerControlGeneric (NetBook)|
|PlayerControlGeneric(NetBook)| ---------         |                       |                         ------------------------------------
------------------------------           ----------------------      -------------------------
                                         |PlayerControlTv(TV) |      | DvbPlayerControlTv(TV)|
                                         ----------------------      -------------------------
  • UmmsObjectManager

Class to manage MediaPlayer objects, including create/destory, register/unregister MediaPlayer objects.

  • MediaPlayer

Class to provide media playback service.

  • PlayerControlFactory

Factory class to create backend player which implemented MediaPlayerControl interface.

  • MediaPlayerControl

Internal interface. MediaPlayer uses this interface to handle the service request. Backend developer need to implemente this interface.

  • PlayerControlBase

Base class to handle the non-dvb playback request. It internally uses playbin2 to implement the MediaPlayerControl interface.

  • PlayerControlGeneric

A backend used on generic PC platform(e.g. NetBook).

  • PlayerControlTv

A backend used on TV platform (e.g. CE4100).

  • DvbPlayerControlBase

Base class to handle the dvb playback request. It creates a custom gstreamer pipeline to play/recode the dvb stream.

  • DvbPlayerControlGeneric

Derived class from DvbPlayerControlBase which is used on generic PC platform(e.g. NetBook).

  • DvbPlayerControlTv

Derived class from DvbPlayerControlBase which is used on TV platform(e.g. CE4100).

Personal tools