MediaControlAPI

From VideoLAN Wiki
Revision as of 09:43, 16 June 2005 by OlivierAubert (talk | contribs)
Jump to navigation Jump to search

Description

The MediaControl API is the extended API to control VLC from external applications (extension of LibVLC). Its core part (playback control) has been taken from the OMG Audio/Video Stream specification, and extended with additional functionalities.

The API is defined in "include/vlc/control.h" and implemented in "src/control".

The Doxygen documentation can be found at [1].

Current status

The API currently includes functions for the following things:

  • Audio/Video
    • Snapshot control
    • OSD display
    • Volume setting
  • Playback
    • Basic features (play/pause/stop)
    • Seeking
    • Basic playlist interaction
    • Stream information

Current uses

The MediaControl API is used by the following modules :

  • the python binding
  • the CORBA interface module

Todo

  • General cleanup of the functions to adapt to VLC coding style
  • Add VLM control
  • Bind the new API to Java and .NET