#include <mrcp_recorder_header.h>
Data Fields | |
float | sensitivity_level |
apr_size_t | no_input_timeout |
mrcp_recorder_completion_cause_e | completion_cause |
apt_str_t | completion_reason |
apt_str_t | failed_uri |
apt_str_t | failed_uri_cause |
apt_str_t | record_uri |
apt_str_t | media_type |
apr_size_t | max_time |
apr_size_t | trim_length |
apr_size_t | final_silence |
apt_bool_t | capture_on_speech |
apt_bool_t | ver_buffer_utterance |
apt_bool_t | start_input_timers |
apt_bool_t | new_audio_channel |
MRCP recorder-header
f false, the recorder MUST start capturing immediately when started. If true, the recorder MUST wait for the endpointing functionality to detect speech before it starts capturing
MUST be part of a RECORD-COMPLETE event coming from the recorder resource to the client
MAY be specified in a RECORD-COMPLETE event coming from the recorder resource to the client
When a recorder method needs to post the audio to a URI and access to the URI fails, the server MUST provide the failed URI in this header in the method response
When a recorder method needs to post the audio to a URI and access to the URI fails, the server MUST provide the URI specific or protocol specific response code through this header in the method response
apr_size_t mrcp_recorder_header_t::final_silence |
When recorder is started and the actual capture begins, this header specifies the length of silence in the audio that is to be interpreted as the end of the recording
apr_size_t mrcp_recorder_header_t::max_time |
When recording is started this specifies the maximum length of the recording in milliseconds, calculated from the time the actual capture and store begins and is not necessarily the time the RECORD method is received
A RECORD method MUST contain this header, which specifies to the server the Media Type of the captured audio or video
MAY be specified in a RECORD request and allows the client to tell the server that, from this point on, further input audio comes from a different audio source
apr_size_t mrcp_recorder_header_t::no_input_timeout |
When recording is started and there is no speech detected for a certain period of time, the recorder can send a RECORD-COMPLETE event
When a recorder method contains this header the server must capture the audio and store it
To filter out background noise and not mistake it for speech
MAY be sent as part of the RECORD request. A value of false tells the recorder resource to start the operation, but not to start the no-input timer until the client sends a START-INPUT-TIMERS
apr_size_t mrcp_recorder_header_t::trim_length |
This header MAY be sent on a STOP method and specifies the length of audio to be trimmed from the end of the recording after the stop
Tells the server to buffer the utterance associated with this recording request into the verification buffer