Platform SDK: TAPI |
TAPI can request the execution of a limited set of media control operations on the call's media stream triggered by telephony events. Although the TAPI clients normally use the media function specifically defined for the media type, media control can yield a significant performance improvement for client/server implementations because simple "detect/control" sequences can be offloaded to the server. The operation TSPI_lineSetMediaControl allows TAPI to specify a list of tuples specifying a telephony event and the associated media-control action, and thus sets up a call's media stream for media control. The telephony events that can trigger media control activities are:
Media control actions are defined generically for the different media types. Not all media streams can provide meaningful interpretations of the media control actions. Operations that may be possible are indicated in LINEMEDIACONTROL_ Constants.
The scope of media control is bounded by the lifetime of the call. Media control on a call ends as soon the call disconnects or goes idle. Only a single media control request can be outstanding on a call across all applications.