(Created page with "= UMMS Architecture = == Introduction == This page describes the architecture of Universal Multi Media Service (UMMS).<br> UMMS general description can found on its '''[[Umms|ma...") |
(→Next chapter) |
||
| Line 5: | Line 5: | ||
UMMS general description can found on its '''[[Umms|main page]]''' | UMMS general description can found on its '''[[Umms|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). | ||
This page describes the architecture of Universal Multi Media Service (UMMS).
UMMS general description can found on its main page
-------------------
|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).