org.videolan.jvlc
Interface VLMIntf

All Known Subinterfaces:
JLibVLC
All Known Implementing Classes:
VLM

public interface VLMIntf


Method Summary
 void addBroadcast(java.lang.String name, java.lang.String input, java.lang.String output, java.lang.String[] options, boolean enabled, boolean loop)
          Add a broadcast, with one input
 void changeMedia(java.lang.String name, java.lang.String input, java.lang.String output, java.lang.String[] options, boolean enabled, boolean loop)
          Edit the parameters of a media.
 void deleteMedia(java.lang.String name)
          Delete a media (vod or broadcast)
 void pauseMedia(java.lang.String name)
          Pauses a media
 void playMedia(java.lang.String name)
          Plays a media
 void setEnabled(java.lang.String name, boolean enabled)
          Enable or disable a media (vod or broadcast)
 void setInput(java.lang.String name, java.lang.String input)
          Set a media's input MRL.
 void setLoop(java.lang.String name, boolean loop)
          Set loop mode for a media
 void setOutput(java.lang.String name, java.lang.String output)
          Set the output for a media
 void stopMedia(java.lang.String name)
          Stops a media
 

Method Detail

addBroadcast

void addBroadcast(java.lang.String name,
                  java.lang.String input,
                  java.lang.String output,
                  java.lang.String[] options,
                  boolean enabled,
                  boolean loop)
                  throws VLCException
Add a broadcast, with one input

Parameters:
name - the name of the new broadcast
input - the input MRL
output - the output MRL (the parameter to the "sout" variable)
options - additional options
enabled - boolean for enabling the new broadcast
loop - Should this broadcast be played in loop ?
Throws:
VLCException

deleteMedia

void deleteMedia(java.lang.String name)
                 throws VLCException
Delete a media (vod or broadcast)

Parameters:
name - the media to delete
Throws:
VLCException

setEnabled

void setEnabled(java.lang.String name,
                boolean enabled)
                throws VLCException
Enable or disable a media (vod or broadcast)

Parameters:
name - the media to work on
enabled - the new status
Throws:
VLCException

setOutput

void setOutput(java.lang.String name,
               java.lang.String output)
               throws VLCException
Set the output for a media

Parameters:
name - the media to work on
output - the output MRL (the parameter to the "sout" variable)
Throws:
VLCException

setInput

void setInput(java.lang.String name,
              java.lang.String input)
              throws VLCException
Set a media's input MRL. This will delete all existing inputs and add the specified one.

Parameters:
name - the media to work on
input - the input MRL
Throws:
VLCException

setLoop

void setLoop(java.lang.String name,
             boolean loop)
             throws VLCException
Set loop mode for a media

Parameters:
name - the media to work on
loop - the new status
Throws:
VLCException

changeMedia

void changeMedia(java.lang.String name,
                 java.lang.String input,
                 java.lang.String output,
                 java.lang.String[] options,
                 boolean enabled,
                 boolean loop)
                 throws VLCException
Edit the parameters of a media. This will delete all existing inputs and add the specified one.

Parameters:
name - the name of the new broadcast
input - the input MRL
output - the output MRL (the parameter to the "sout" variable)
options - additional options
enabled - boolean for enabling the new broadcast
loop - Should this broadcast be played in loop ?
Throws:
VLCException

playMedia

void playMedia(java.lang.String name)
               throws VLCException
Plays a media

Parameters:
name - of the broadcast to play
Throws:
VLCException

stopMedia

void stopMedia(java.lang.String name)
               throws VLCException
Stops a media

Parameters:
name - of the broadcast to stop
Throws:
VLCException

pauseMedia

void pauseMedia(java.lang.String name)
                throws VLCException
Pauses a media

Parameters:
name - name of the broadcast to pause
Throws:
VLCException