|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Symbols used in Recorder and RecorderEvent.
| Field Summary | |
static Symbol |
a_Beep
Boolean value indicates if Recorder supports the Beep features. |
static Symbol |
a_CoderTypes
Attribute to request support for various coders. |
static Symbol |
a_FixedBeep
a_FixedBeep indicates that Recorder supports p_StartBeep. |
static Symbol |
a_Pause
Recorder supports Pause and Resume operations. |
static Symbol |
a_SilenceTruncation
Boolean value indicates if Recorder supports the SignalTruncation features. |
static Symbol |
ev_Pause
Indicates that recording has been paused by RTC. |
static Symbol |
ev_Record
Indicates that recording has been completed. |
static Symbol |
ev_Resume
Indicates that recording has been resumed by RTC. |
static Symbol |
p_Append
Indicates that recording should append to the end of an existing TVM rather than overwrite it. |
static Symbol |
p_BeepFrequency
The frequency of the start beep; iff attribute a_Beep. |
static Symbol |
p_BeepLength
Length of Beep preceeding recording; iff attribute a_Beep. |
static Symbol |
p_Coder
Symbol identifying the Coder used for a new recording. |
static Symbol |
p_CoderTypes
An array of Symbols identifying the Coders supported by this Recorder. |
static Symbol |
p_EnabledEvents
A Dictionary indicating which events are generated by this Recorder. |
static Symbol |
p_FileFormat
A Symbol identifying the File Format used during recording. |
static Symbol |
p_FinalTimeoutBehaviour
A Symbol identifying the Behaviour of the end of recording wrt SpeechDetector. |
static Symbol |
p_MaxDuration
Integer indicating the maximum duration (in milliseconds) for a record. |
static Symbol |
p_MinDuration
Integer indicating minimum duration (in milliseconds) that constitutes a valid recording. |
static Symbol |
p_SignalTruncationOn
Boolean indicating whether signal(DTMF) truncation is enabled. |
static Symbol |
p_SilenceEnergyThreshold
Integer indicating above which threshold activity is recognized (under, silence). |
static Symbol |
p_SilenceTerminationOn
Boolean indicating whether silence termination is enabled. |
static Symbol |
p_SilenceTerminationThreshold
Integer threshold (in milliseconds) when silence termination is triggered. |
static Symbol |
p_SilenceTruncationOn
Deprecated. OCMP 2.4, use nVAD to remove silence |
static Symbol |
p_SilenceTruncationThreshold
Deprecated. OCMP 2.4, use nVAD to remove silence |
static Symbol |
p_SpeechDetectionMode
A Symbol identifying the Speech detection mode. |
static Symbol |
p_StartBeep
Boolean indicating whether subsequent record will be preceded with a beep. |
static Symbol |
p_StartPaused
Boolean indicating whether subsequent record will start in PAUSE mode. |
static Symbol |
q_Silence
Record ended because Silence termination was enabled and a silence of greater that p_SilenceThreshold milliseconds
was detected. |
static Symbol |
rtca_Pause
Pause the current operation on a recorder, maintaining the current position in the Media Stream being recorded. |
static Symbol |
rtca_Resume
Resume the current operation on a recorder if paused |
static Symbol |
rtca_Stop
Stop the current operation on a recorder |
static Symbol |
rtcc_RecordComplete
Trigger when a Record is completed. |
static Symbol |
v_DetectAllOccurences
value for p_SpeechDetectionMode.
|
static Symbol |
v_DetectFirstOccurence
value for p_SpeechDetectionMode.
|
static Symbol |
v_GSMFormat
value for p_FileFormat: GSM file format. |
static Symbol |
v_Inactive
value for p_SpeechDetectionMode.
|
static Symbol |
v_RawFormat
value for p_FileFormat: basic file format without any header. |
static Symbol |
v_WavFormat
value for p_FileFormat: WAV file format. |
| Fields inherited from interface hp.telephony.media.CoderConstants |
p_AMR_SDPelement, p_channels, p_crc, p_G723_annexa, p_G723_bitrate, p_G729_annexb, p_interleaving, p_maxptime, p_modechangeneighbor, p_modechangeperiod, p_modeset, p_octetalign, p_ptime, p_robustsorting, v_ADPCM_16kG726, v_ADPCM_24k, v_ADPCM_32k, v_ADPCM_32kG726, v_ADPCM_32kOKI, v_ADPCM_44k, v_ALawPCM_48k, v_ALawPCM_64k, v_ALawPCM_88k, v_AMR, v_AMR_WB, v_G723_1b, v_G723_53, v_G723_63, v_G723_no_vad, v_G723_yes, v_G729_no_vad, v_G729_yes, v_G729a, v_GSM, v_Linear16Bit_64k, v_Linear8Bit_48k, v_Linear8Bit_64k, v_Linear8Bit_88k, v_MuLawPCM_48k, v_MuLawPCM_64k, v_MuLawPCM_88k |
| Field Detail |
public static final Symbol a_Beep
public static final Symbol a_SilenceTruncation
public static final Symbol a_FixedBeep
public static final Symbol a_Pause
public static final Symbol a_CoderTypes
The Symbols that identify coders are in CoderConstants.
public static final Symbol ev_Record
q_RTC, q_Stop, q_Duration, q_Silence, q_Standard (specific to ASR part)
public static final Symbol ev_Pause
public static final Symbol ev_Resume
public static final Symbol p_Append
public static final Symbol p_BeepFrequency
public static final Symbol p_BeepLength
public static final Symbol p_Coder
For list of Coder type Symbols,
CoderConstantspublic static final Symbol p_CoderTypes
Valid values: CoderConstants
Default: implementation dependent.
public static final Symbol p_EnabledEvents
Value is an Dictionary mapping from a Symbol (EventID) to a Boolean value. If the value for an EventID is True, then that event is enabled. Otherwise, that event will not be generated by the MediaService.
Valid values: ev_Pause, ev_Resume, ev_Record
Default: no event enabled
For a RecorderListener to receive events, those events must
be enabled by setting this parameter.
This parameter can be set in a ConfigSpec or by
setParameters.
Note:
This parameter controls the generation of events.
The events cannot be delivered unless a ResourceEventListener
is added using
addResourceEventListener.
public static final Symbol p_MaxDuration
ResourceConstants.v_Forever a name for ResourceConstants.FOREVER.
Note:
If you plan recording a Conference session, please read carefully :
Our world is finite, at least our computer disks are. So FOREVER stands for a long time compared to the average phone communication. OC MP enforces a physical limitation of 150MB of 16bit linear media, approx. 2 1/2 hours. Compressed media files would hold up to 4 times more actual time (10H in ADPCMs).
public static final Symbol p_MinDuration
public static final Symbol p_SignalTruncationOn
public static final Symbol p_SilenceEnergyThreshold
public static final Symbol p_SilenceTruncationOn
public static final Symbol p_SilenceTruncationThreshold
public static final Symbol p_SilenceTerminationOn
public static final Symbol p_SilenceTerminationThreshold
public static final Symbol p_StartBeep
public static final Symbol p_StartPaused
public static final Symbol p_FileFormat
Note: When the v_WavFormat is required, the supported p_CoderTypes values are v_ALawPCM_64k, v_MuLawPCM_64k, v_Linear16Bit_64k v_ADPCM_32k, v_ADPCM_32kOKI, v_G723_1b, v_G729a
When the v_GSMFormat is required, the supported p_CoderTypes value is v_GSM
When the v_RawFormat is required, the supported p_CoderTypes values are v_ALawPCM_64k, v_MuLawPCM_64k, v_Linear16Bit_64k v_ADPCM_32k, v_ADPCM_32kOKI, v_ADPCM_16kG726, v_ADPCM_32kG726
p_CoderTypespublic static final Symbol v_GSMFormat
When the v_GSMFormat is required, the supported p_CoderTypes value is v_GSM
p_FileFormat,
p_CoderTypespublic static final Symbol p_FinalTimeoutBehaviour
NOTE: a voice activity detector resource spec should be defined in the ConfigSpec for that parameter to operate!
Default: Boolean.FALSE.
Boolean valued.
public static final Symbol p_SpeechDetectionMode
NOTE: a voice activity detector resource spec should be defined in the ConfigSpec for that parameter to operate!
Default: v_Inactive.
Possible values: v_Inactive, v_DetectFirstOccurence & v_DetectAllOccurences.
public static final Symbol v_Inactive
p_SpeechDetectionMode.
If a voice activity detector resource spec is defined in the ConfigSpec, it won't operate (bypass mode).
p_SpeechDetectionModepublic static final Symbol v_DetectFirstOccurence
p_SpeechDetectionMode.
If a voice activity detector resource spec is defined in the ConfigSpec,
it will detect the first occurence of speech (cf. SpeechDetectorConstants to tune the speech detection).
p_SpeechDetectionMode,
SpeechDetectorConstants.p_InitialTimeout,
SpeechDetectorConstants.p_FinalTimeoutpublic static final Symbol v_DetectAllOccurences
p_SpeechDetectionMode.
If a voice activity detector resource spec is defined in the ConfigSpec, it will detect all speech occurences (cf. SpeechDetectorConstants to tune the speech detection).
p_SpeechDetectionMode,
SpeechDetectorConstants.p_InitialTimeout,
SpeechDetectorConstants.p_FinalTimeoutpublic static final Symbol v_RawFormat
When the v_RawFormat is required, the supported p_CoderTypes values are v_ALawPCM_64k, v_MuLawPCM_64k, v_Linear16Bit_64k, v_ADPCM_32k, v_ADPCM_32kOKI, v_ADPCM_16kG726, v_ADPCM_32kG726
p_FileFormatpublic static final Symbol v_WavFormat
When the v_WavFormat is required, the supported p_CoderTypes values are v_ALawPCM_64k, v_MuLawPCM_64k, v_Linear16Bit_64k, v_ADPCM_32k, v_ADPCM_32kOKI, v_G723_1b, v_G729a
p_FileFormat,
p_CoderTypespublic static final Symbol q_Silence
p_SilenceThreshold milliseconds
was detected.
public static final Symbol rtca_Stop
public static final Symbol rtca_Resume
public static final Symbol rtca_Pause
public static final Symbol rtcc_RecordComplete
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||