JSR-043: JTAPI-1.4

javax.telephony.media.async
Interface Async_Recorder

All Superinterfaces:
CoderConstants, MediaConstants, RecorderConstants, ResourceConstants
All Known Implementing Classes:
BasicMediaService

public interface Async_Recorder
extends RecorderConstants

Non-blocking methods for Recorder resource.

Since:
JTAPI-1.4

Fields inherited from interface javax.telephony.media.RecorderConstants
a_Beep, a_CoderTypes, a_FixedBeep, a_Pause, e_Coder, ev_Pause, ev_Record, ev_Resume, ev_Stop, p_Append, p_BeepFrequency, p_BeepLength, p_Coder, p_CoderTypes, p_EnabledEvents, p_MaxDuration, p_MinDuration, p_SilenceTerminationOn, p_SilenceTerminationThreshold, p_SilenceTruncationOn, p_SilenceTruncationThreshold, p_StartBeep, p_StartPaused, q_Silence, rtca_Pause, rtca_Resume, rtca_Stop, rtcc_RecordComplete, v_Class
 
Fields inherited from interface javax.telephony.media.ResourceConstants
e_Disconnected, FOREVER, q_Disconnected, q_RTC, rtcc_Disconnected, rtcc_TriggerRTC, v_Forever
 
Fields inherited from interface javax.telephony.media.MediaConstants
e_OK, q_Duration, q_Standard, q_Stop
 
Fields inherited from interface javax.telephony.media.CoderConstants
v_24kADPCM, v_32kADPCM, v_44kADPCM, v_48k8BitLinear, v_48kALawPCM, v_48kMuLawPCM, v_64k8BitLinear, v_64kALawPCM, v_64kMuLawPCM, v_88k8BitLinear, v_88kALawPCM, v_88kMuLawPCM, v_ADPCM_24k, v_ADPCM_32k, v_ADPCM_44k, v_ADSI, v_ALawPCM_48k, v_ALawPCM_64k, v_ALawPCM_88k, v_ASCII, v_Linear8Bit_48k, v_Linear8Bit_64k, v_Linear8Bit_88k, v_MuLawPCM_48k, v_MuLawPCM_64k, v_MuLawPCM_88k, v_TDD
 
Method Summary
 Async_RecorderEvent async_pauseRecorder()
          Non-blocking version of Recorder.pauseRecorder.
 Async_RecorderEvent async_record(java.lang.String streamID, RTC[] rtc, java.util.Dictionary optargs)
          Non-blocking verions of record();
 Async_RecorderEvent async_resumeRecorder()
          Non-blocking version of Recorder.resumeRecorder.
 Async_RecorderEvent async_stopRecorder()
          Non-blocking version of Recorder.stopRecorder.
 

Method Detail

async_record

public Async_RecorderEvent async_record(java.lang.String streamID,
                                        RTC[] rtc,
                                        java.util.Dictionary optargs)
Non-blocking verions of record();

Record data from the Terminal into the named Media Data Object (MDO). Encode and store data from the telephony network. record() encodes the media stream from the bound Terminal, and stores the result in the Media Stream Container identified by the given streamID.

Parameters:
streamID - the String name of a MDO where recording is to be stored
rtc - an Array of RTC (Run-Time-Control) objects
optargs, - a Dictionary of optional arguments
Returns:
an Async_RecorderEvent with additional information.
See Also:
Recorder.record(java.lang.String, javax.telephony.media.RTC[], java.util.Dictionary)

async_pauseRecorder

public Async_RecorderEvent async_pauseRecorder()
Non-blocking version of Recorder.pauseRecorder.
Returns:
an Async_RecorderEvent
See Also:
Recorder.pauseRecorder()

async_resumeRecorder

public Async_RecorderEvent async_resumeRecorder()
Non-blocking version of Recorder.resumeRecorder.
Returns:
an Async_RecorderEvent
See Also:
Recorder.resumeRecorder()

async_stopRecorder

public Async_RecorderEvent async_stopRecorder()
Non-blocking version of Recorder.stopRecorder.
Returns:
an Async_RecorderEvent
See Also:
Recorder.stopRecorder()

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org