|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Recorder
| Method Summary | |
|---|---|
void |
addListener(RecorderListener listener)
Adds listener for the recorder |
void |
clearAllListeners()
|
void |
removeListener(RecorderListener listener)
Unregisters listener |
void |
setMaxRecordTime(long maxRecordTime)
Sets the time for recording. |
void |
setPostSpeechTimer(long value)
Changes post-speech timer value. |
void |
setPreSpeechTimer(long value)
Changes post-speech timer value. |
void |
setRecordDir(String recordDir)
Set the Record path. |
void |
setRecordFile(String uri,
boolean append)
Assign file for recording. |
| Methods inherited from interface org.mobicents.media.MediaSink |
|---|
getBytesReceived, getPacketsReceived, isStarted, perform |
| Methods inherited from interface org.mobicents.media.Component |
|---|
activate, clearEndpoint, deactivate, getEndpoint, getId, getName, reset, setEndpoint |
| Method Detail |
|---|
void setRecordDir(String recordDir)
recordDir -
void setRecordFile(String uri,
boolean append)
throws IOException
uri - the URI which points to a file.
IOException
FileNotFoundExceptionvoid setMaxRecordTime(long maxRecordTime)
maxRecordTime - the time measured in nanosecondsvoid setPreSpeechTimer(long value)
value - the time expressed in nanoseconds.void setPostSpeechTimer(long value)
value - the time expressed in nanoseconds.
void addListener(RecorderListener listener)
throws TooManyListenersException
listener - the listener instance
TooManyListenersExceptionvoid removeListener(RecorderListener listener)
listener - the listener to be unregisteredvoid clearAllListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||