|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.videolan.jvlc.VLM
public class VLM
| Constructor Summary | |
|---|---|
VLM(long instance)
|
|
| 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). |
long |
getInstance()
|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VLM(long instance)
| Method Detail |
|---|
public void addBroadcast(java.lang.String name,
java.lang.String input,
java.lang.String output,
java.lang.String[] options,
boolean enabled,
boolean loop)
throws VLCException
VLMIntf
addBroadcast in interface VLMIntfname - the name of the new broadcastinput - the input MRLoutput - the output MRL (the parameter to the "sout" variable)options - additional optionsenabled - boolean for enabling the new broadcastloop - Should this broadcast be played in loop ?
VLCException
public void deleteMedia(java.lang.String name)
throws VLCException
VLMIntf
deleteMedia in interface VLMIntfname - the media to delete
VLCException
public void setEnabled(java.lang.String name,
boolean enabled)
throws VLCException
VLMIntf
setEnabled in interface VLMIntfname - the media to work onenabled - the new status
VLCException
public void setOutput(java.lang.String name,
java.lang.String output)
throws VLCException
VLMIntf
setOutput in interface VLMIntfname - the media to work onoutput - the output MRL (the parameter to the "sout" variable)
VLCException
public void setInput(java.lang.String name,
java.lang.String input)
throws VLCException
VLMIntf
setInput in interface VLMIntfname - the media to work oninput - the input MRL
VLCException
public void setLoop(java.lang.String name,
boolean loop)
throws VLCException
VLMIntf
setLoop in interface VLMIntfname - the media to work onloop - the new status
VLCException
public void changeMedia(java.lang.String name,
java.lang.String input,
java.lang.String output,
java.lang.String[] options,
boolean enabled,
boolean loop)
throws VLCException
VLMIntf
changeMedia in interface VLMIntfname - the name of the new broadcastinput - the input MRLoutput - the output MRL (the parameter to the "sout" variable)options - additional optionsenabled - boolean for enabling the new broadcastloop - Should this broadcast be played in loop ?
VLCException
public void playMedia(java.lang.String name)
throws VLCException
VLMIntf
playMedia in interface VLMIntfname - of the broadcast to play
VLCException
public void stopMedia(java.lang.String name)
throws VLCException
VLMIntf
stopMedia in interface VLMIntfname - of the broadcast to stop
VLCException
public void pauseMedia(java.lang.String name)
throws VLCException
VLMIntf
pauseMedia in interface VLMIntfname - name of the broadcast to pause
VLCExceptionpublic long getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||