Patent ID: 7634066

Claim:
A computing device having a memory and a processor for enhancing media processing of a media stream containing speech data, comprising: a terminal data structure to support instantiating terminal objects, each terminal object adhering to a uniform interface, providing a telephony service, and having a terminal class name and a media type; a speech recognition terminal data structure that extends the terminal data structure; a terminal manager to instantiate, based on the terminal data structure and the speech recognition terminal data structure, terminal objects including a speech recognition terminal object to recognize speech having a speech recognition media type; and a TAPI application component providing a telephony API to form a connection with a client and to process the speech data by: registering terminal objects including a speech recognition terminal object; selecting, with the processor, the speech recognition terminal object from among a group of registered terminal objects based on the media type of the registered terminal objects; instantiating the selected speech recognition terminal object using the terminal manager by providing the terminal class name, the media type, and a method of signaling events; and providing the speech data to the instantiated speech recognition terminal object for recognition of the speech data.