Intel IP Media Server Demo Manual page 36

Ip media server for host media processing
Table of Contents

Advertisement

Demo Details
Table 8. Voice Module Classes (Continued)
Category
Device
36
Class Name
CVoiceDevice
• Handles voice device operations, such
as playing, recording, tone detection,
and tone generation
• Holds CVoiceStateMachine
Note: The public functions in this class
should only be accessed by classes
inside the Voice module.
Init( )
• Opens the voice device. If successful,
creates voice state machine.
Exit( )
• Deletes the voice state machine from the
voice device
• Closes voice device
ProcessEvent( )
• Processes voice device events
Connect( )
• Allows IP device to listen to its receiving
timeslot
Play( )
• Plays a vox file
OnPlayComplete( )
• Replays a vox file when it has finished
playing
Record( )
• Records voice to a vox file
GetDigits( )
• Retrieves DTMF digits
GetDigitCount( )
• Returns the number of retrieved DTMF
digits
GetDigitString( )
• Returns retrieved DTMF string
Connect( )
• Allows the voice device to listen to its
receiving timeslot
Disconnect( )
• Allows voice device to unlisten to its
receiving timeslot
GetStoppedReason( )
• Tells why a played voice file stops
GetDeviceHandle( )
• Returns voice device handle
GetXmitSlot( )
• Returns voice device transmit timeslot
SetReceiveSlot( )
• Sets voice device receiving timeslot
IP Media Server for HMP Demo Guide — July 2005
Interface

Advertisement

Table of Contents
loading

Table of Contents