User Tools

Site Tools


Automatic Speech Recognition Layer (asr)

The ASR layer provides speech recognition. It can be placed on top of RTP, SRTP, Recorder, QoS, Player, TTS, detector or generator layers.

Automatic Speech Recognition Layer Configuration Parameters

Parameter Type Description
Alias String
Debug Log Level Number Debug Level
Dependencies String Other dependencies to this element
Destination Peer Number
Event Filter String Filter of Event
Exact Match Boolean
Max Event Queue Size Number Maximum Queue Size
Max Instances Number Maximum Number of Instances of a Component
Name String Component Name
No Events Boolean
Passthrough Boolean High-to-Low Layer Passthrough
Raw Data To Inject String Data Packet to Inject
Raw Dst L2 To Inject String Destination L2 Address
Raw Dst L3 To Inject String Destination L3 Address
Raw Dst L4 To Inject String Destination L4 Address
Request Timeout Number
Save Dynamic Config Boolean
Show Commands Boolean Show Commands
Show Events Boolean Show Events
Watch Boolean Watch Layer

Automatic Speech Recognition Layer Functions

Function Type Description
asrRecognize(layer) function Recognize Speech Sequence
getAsrAllowBlockingEvent(layer) getter Get “Allow Blocking Event” Parameter
getAsrBlocked(layer) getter Get “Blocked” Parameter
getAsrDebugLogLevel(layer) getter Get “Debug Log Level” Parameter
getAsrDestinationPeer(layer) getter Get “Destination Peer” Parameter
getAsrMaxInstances(layer) getter Get “Max Instances” Parameter
getAsrNoEvents(layer) getter Get “No Events” Parameter
getAsrPassthrough(layer) getter Get “Passthrough” Parameter
getAsrText(layer) getter Get “Text” Parameter
getAsrThreeWay(layer) getter Get “Three Way” Parameter
getAsrWatch(layer) getter Get “Watch” Parameter
getStatsAsrAvailableInstances(layer) getter Get “Available Instances” Parameter
getStatsAsrDownstreamLastPacket(layer) getter Get “Downstream Last Packet” Parameter
getStatsAsrDownstreamPacketCount(layer) getter Get “Downstream Packet Count” Parameter
getStatsAsrMaxDownstreamDelay(layer) getter Get “Max Downstream Delay” Parameter
getStatsAsrMaxUpstreamDelay(layer) getter Get “Max Upstream Delay” Parameter
getStatsAsrMeanDownstreamDelay(layer) getter Get “Mean Downstream Delay” Parameter
getStatsAsrMeanUpstreamDelay(layer) getter Get “Mean Upstream Delay” Parameter
getStatsAsrMinDownstreamDelay(layer) getter Get “Min Downstream Delay” Parameter
getStatsAsrMinUpstreamDelay(layer) getter Get “Min Upstream Delay” Parameter
getStatsAsrName(layer) getter Get “Name” Parameter
getStatsAsrPESQScore(layer) getter Get “PESQ Score” Parameter
getStatsAsrRateBpsDownstream(layer) getter Get “Rate Bps Downstream” Parameter
getStatsAsrRateBpsUpstream(layer) getter Get “Rate Bps Upstream” Parameter
getStatsAsrTimestampIn(layer) getter Get “Timestamp In” Parameter
getStatsAsrTimestampOut(layer) getter Get “Timestamp Out” Parameter
getStatsAsrType(layer) getter Get “Type” Parameter
getStatsAsrUpstreamLastPacket(layer) getter Get “Upstream Last Packet” Parameter
getStatsAsrUpstreamPacketCount(layer) getter Get “Upstream Packet Count” Parameter
getStatsAsrVarianceDownstreamDelay(layer) getter Get “Variance Downstream Delay” Parameter
getStatsAsrVarianceUpstreamDelay(layer) getter Get “Variance Upstream Delay” Parameter
isEventAsrRecognized(event) event Speech Recognized Event
isEventAsrStop(event) event Speech Recognization Stopped Event
setAsrAllowBlockingEvent(layer,value) setter Set “Allow Blocking Event” Parameter
setAsrBlocked(layer,value) setter Set “Blocked” Parameter
setAsrDebugLogLevel(layer,value) setter Set “Debug Log Level” Parameter
setAsrNoEvents(layer,value) setter Set “No Events” Parameter
setAsrPassthrough(layer,value) setter Set “Passthrough” Parameter
setAsrWatch(layer,value) setter Set “Watch” Parameter
automatic_speech_recognition_asr.txt · Last modified: 2021/07/26 01:17 by vps