The LINEMEDIACONTROL_ bit-flag constants describe a set of generic operations on media streams. The interpretations are determined by the media stream. The line device must have the media control capability in order for any media control operations to be effective.
The high-order 16 bits can be assigned for device-specific extensions. The low-order 16 bits are reserved.
Media control is provided as a way of improving the performance of actions on media streams on calls in response to telephony related events. The application should normally manage a media stream through the media-specific API; the media control functionality provided here is not intended as a replacemenet for the native media APIs.
Media control actions can be associated with the detection of digits, the detection of tones, the transition into a call state, and the detection of a media mode. Consult a line's device capabilities to determine whether media control is available on a line.
LINEMEDIACONTROLCALLSTATE, LINEMEDIACONTROLDIGIT, LINEMEDIACONTROLMEDIA, LINEMEDIACONTROLTONE, TSPI_lineSetMediaControl