IMFStreamingSinkConfig::StartStreaming method

Called by the streaming media client before the Media Session starts streaming to specify the byte offset or the time offset.

Syntax


HRESULT StartStreaming(
  [in] BOOL  fSeekOffsetIsByteOffset,
  [in] QWORD qwSeekOffset
);

Parameters

fSeekOffsetIsByteOffset [in]

A Boolean value that specifies whether qwSeekOffset gives a byte offset of a time offset.

ValueMeaning
TRUE

The qwSeekOffset parameter specifies a byte offset.

FALSE

The qwSeekOffset parameter specifies the time position in 100-nanosecond units.

 

qwSeekOffset [in]

A byte offset or a time offset, depending on the value passed in fSeekOffsetIsByteOffset. Time offsets are specified in 100-nanosecond units.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

IMFStreamingSinkConfig

 

 

Show: