|
This property holds the current media mode(s) for the call. The value is equal to the MediaMode member of the call's Info property. Set this property to another media mode to change the media mode of an existing call. In TAPI, the lineSetMediaMode function is called to set the media type(s) of the specified call in its info structure. Refer to the ThbTapiLine.Caps.MediaModes
property for a list of the available media modes. Typical usage of this
operation is either to set a call's media type to a specific known media
type or to exclude possible media types as long as the call's media type
is officially unknown (the UNKNOWN media type flag is set). Example
AvailabilityDesign-Time: None / Run-Time: Read, Write
Declarationproperty MediaMode: DWord; ErrorsSetting this property can cause an EhbTapiError exception . Possible errors are: LINEERR_INVALCALLHANDLE, LINEERR_OPERATIONFAILED, LINEERR_INVALMEDIAMODE, LINEERR_RESOURCEUNAVAIL, LINEERR_NOMEM, LINEERR_UNINITIALIZED, LINEERR_OPERATIONUNAVAIL. |