Dela via


MediaStreamSource Constructors

Definition

Overloads

MediaStreamSource(IMediaStreamDescriptor)

Creates an instance of MediaStreamSource from the specified IMediaStreamDescriptor.

MediaStreamSource(IMediaStreamDescriptor, IMediaStreamDescriptor)

Creates an instance of MediaStreamSource from two IMediaStreamDescriptor objects.

MediaStreamSource(IMediaStreamDescriptor)

Creates an instance of MediaStreamSource from the specified IMediaStreamDescriptor.

public:
 MediaStreamSource(IMediaStreamDescriptor ^ descriptor);
 MediaStreamSource(IMediaStreamDescriptor const& descriptor);
public MediaStreamSource(IMediaStreamDescriptor descriptor);
function MediaStreamSource(descriptor)
Public Sub New (descriptor As IMediaStreamDescriptor)

Parameters

Remarks

This constructor creates a MediaStreamSource using a single AudioStreamDescriptor or VideoStreamDescriptor object. If the MediaStreamSource needs descriptors, the MediaStreamSource constructor overload which takes two descriptor can be used.

It is possible to add additional descriptors to a MediaStreamSource after it has been created, by invoking the AddStreamDescriptor method.

See also

Applies to

MediaStreamSource(IMediaStreamDescriptor, IMediaStreamDescriptor)

Creates an instance of MediaStreamSource from two IMediaStreamDescriptor objects.

public:
 MediaStreamSource(IMediaStreamDescriptor ^ descriptor, IMediaStreamDescriptor ^ descriptor2);
 MediaStreamSource(IMediaStreamDescriptor const& descriptor, IMediaStreamDescriptor const& descriptor2);
public MediaStreamSource(IMediaStreamDescriptor descriptor, IMediaStreamDescriptor descriptor2);
function MediaStreamSource(descriptor, descriptor2)
Public Sub New (descriptor As IMediaStreamDescriptor, descriptor2 As IMediaStreamDescriptor)

Parameters

Remarks

This constructor creates a MediaStreamSource using a two AudioStreamDescriptor or VideoStreamDescriptor objects. If the MediaStreamSource needs only on descriptor, the MediaStreamSource constructor overload which takes two descriptor can be used.

It is possible to add additional descriptors to a MediaStreamSource after it has been created, by invoking the AddStreamDescriptor method.

See also

Applies to