47 | | * ... |
48 | | * Since repainting the scene by grabbing the current frame from the player should be forced we should add a Timer which will repaint the SimpleSceneVisual's swing component if the there is a video content in this scene. |
| 47 | The implementation so far has the following design: |
| 48 | * there is a module named - org.sophie2.base.media, which defines the model for the media and two extension points - one for Video and one for Audio |
| 49 | [[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/mediaBase.png)]] |
| 50 | * MediaInfo is the class which holds meta data for the media |
| 51 | * MediaState describes the current state of the media - is it playing, what is the volume, etc. |
| 52 | * MediaSource defines the source for the media - is has an URL and media data which is binary |
| 53 | *there is a module named - org.sophie2.main.media.fobs, which add two extension for the presently described extension points - one for Video and one for Audio. The engine used is JMF |
| 54 | [[Image(source:trunk/sophie2-platform/doc/uml-design-diagrams/mediaFobs.png)]] |
| 55 | |
| 56 | Since repainting the scene by grabbing the current frame from the player should be forced we should add a Timer which will repaint the SimpleSceneVisual's swing component if the there is a video content in this scene. |