Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fenderstic/2cd2d37cb23e00ff1d6a to your computer and use it in GitHub Desktop.
Save fenderstic/2cd2d37cb23e00ff1d6a to your computer and use it in GitHub Desktop.
FromHTMLMediaElementToWebMediaPlayerGStreamer

Understanding this project 'ChromiumGStreamerBackend' (https://github.com/Samsung/ChromiumGStreamerBackend), this article would be helpful someone who doesn't know structure of HTML5Video.

HTMLMediaElement derives WebMediaPlayerClient and implements pure-virtual function of parent's. Regarding to intefaces of WebMediaPlayerClient, HTMLMediaElement calls functions of WebMediaPlayer in order to connect REAL system-specific implementation. WebMediaPlayer has a lot of pure-virtual functions to abstract most valuable function of MediaPlayer's. WebMediaPlayerGStreamer derives WebMediaPlayer for specifying gstreamer-implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment