Partager via


IAMNetworkStatus::get_IsBroadcast (Compact 7)

3/12/2014

The method indicates whether the current stream is a broadcast stream.

Syntax

HRESULT get_IsBroadcast(
  VARIANT_BOOL *pIsBroadcast
);

Parameters

  • pIsBroadcast
    [out] Points to a variable which on return will contain VARIANT_TRUE if the stream is broadcast, VARIANT_FALSE otherwise.

Return Values

Returns S_OK on success. Returns an HRESULT error on failure.

Remarks

A broadcast stream can be unicast or multicast. In a broadcast connection, the client is passive and does not control when the stream starts or stops. In an on-demand connection, the client is active and controls when the stream is started and stopped.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMNetworkStatus