Difference between revisions of "MediaControlAPI"

From VideoLAN Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
== Description ==
 
== Description ==
  
The MediaControl API is the extended API to control VLC from external applications (extension of LibVLC).
+
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 [http://www.omg.org/docs/formal/00-01-03.pdf OMG Audio/Video Stream specification], and extended with additional functionalities.
  
 
The API is defined in [http://trac.videolan.org/vlc/browser/trunk/include/vlc/control.h "include/vlc/control.h"] and implemented in  
 
The API is defined in [http://trac.videolan.org/vlc/browser/trunk/include/vlc/control.h "include/vlc/control.h"] and implemented in  
Line 20: Line 20:
 
** Basic playlist interaction
 
** Basic playlist interaction
 
** Stream information
 
** Stream information
 +
 +
== Current uses ==
 +
 +
The MediaControl API is used by the following modules :
 +
* the python binding
 +
* the CORBA interface module
  
 
== Todo ==
 
== Todo ==

Revision as of 09:43, 16 June 2005

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