ITStreamControl interface (tapi3if.h)

The ITStreamControl interface represents the media streaming features of a call and exposes methods that allow an application to enumerate, create, or remove streams.

If this interface exists, a TAPI application acquires a pointer to this interface by performing a QueryInterface on any call interface, such as ITCallInfo. This interface is not available if an MSP is not involved in the current call session.

Internal to the TAPI DLL, this interface is implemented by the MSP's call object, which is created in the ITMSPAddress::CreateMSPCall method. TAPI then aggregates this interface onto the TAPI call object and exposes it to TAPI applications.

Inheritance

The ITStreamControl interface inherits from the IUnknown interface. ITStreamControl also has these types of members:

Methods

The ITStreamControl interface has these methods.

 
ITStreamControl::CreateStream

The CreateStream method creates a new media stream.
ITStreamControl::EnumerateStreams

The EnumerateStreams method enumerates currently available media streams. Provided for C and C++ applications. Automation client applications such as Visual Basic must use the get_Streams method.
ITStreamControl::get_Streams

The get_Streams method creates a collection of media streams currently available on the call. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateStreams method.
ITStreamControl::RemoveStream

The RemoveStream method removes a media stream.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h

See also

ITStream

ITSubStream

ITSubStreamControl

Media Service Provider Interface (MSPI)