Media Control

The tapi32.dll can request the execution of a limited set of media control operations on the call's media stream triggered by telephony events. Although the tapi32.dll clients normally use the media function specifically defined for the media mode, 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 tapi32.dll 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:

The following media control actions are defined generically for the different media modes. Not all media streams can provide meaningful interpretations of the media control actions. The operations should map well to audio streams.

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.