Chapter 14:
Mishra, A. and Kanso, A.: Integration of the VideoLAN Client with OpenSAF: An Example
In the book only we did not show the complete code and configurations for the examples. We provide them here. These were used with OpenSAF 4.0 and the VideoLAN Client (VLC) 1.1. For all the details please refer to the README (README.doc) file.
OpenSAF
We used OpenSAF 4.0 with the included in the package User-mode Linux (UmL) development cluster, for which the setup is described in the OpenSAFsetup.doc file.
IMM configurations for VLC
There are two versions of the IMM configuration. For running the
· unmodified VLC as a non-SA-Aware component use the
AppConfig-2N-NonSaAware.xml file
· the modified VLC as an SA-Aware component use the
AppConfig-2N-SaAware.xml file
CLC-CLI commands
The IMM configuration files refer to the different CLC-CLI commands.
For the non-SA-aware VLC version:
· IP component instantiate script (commonCli/ip_start)
· IP component terminate and cleanup scripts (commonCli/ip_terminate)
· VLC component instantiate script (nonSaAwareCli/vlc_start)
· VLC component terminate script (nonSaAwareCli/vlc_terminate)
· VLC component cleanup script (commonCli/vlc_cleanup)
For the SA-aware VLC version:
· IP component instantiate script (commonCli/ip_start)
· IP component terminate and cleanup scripts (commonCli/ip_terminate)
· VLC component instantiate script (saAwareCli/vlc_start)
· VLC component cleanup script (commonCli/vlc_cleanup)
Passive monitoring
The C source code (exec_StartMonitoring.c) for passive monitoring.
SA-aware VLC
The SA-aware VLC control module, i.e. the VLM interface plugin source code is contained in the attached opensaf.c file.
VLC patch
This source code patch (vlc-v2-e2d2ff1098c754a179f68c8e0aa7710353fff29f.patch) adds the example SA-aware VLC implementation to the original VLC source code (
http://git.videolan.org/?p=vlc/vlc-1.1.git;a=snapshot;h=e2d2ff1098c754a179f68c8e0aa7710353fff29f;sf=tgz).
Sample VLC configuration
To run VLC, it also requires its own configuration (vlm_config) file.
For more details please read the README (README.doc) file.
The complete archive is available here (VLCexample.zip).