Platform SDK: Broadcast Architecture

IATVEFPackage::GetTransmitTime

Calculates the number of seconds required to transmit the package.

HRESULT
  GetTransmitTime(
  ULONG ExpectedTransmissionBitRate,
  ULONG * TransmissionTimeSeconds
);

Parameters

ExpectedTransmissionBitRate
A ULONG that specifies the expected transmission bit rate for the transmission.
TransmissionTimeSeconds
Pointer to a ULONG that receives the number of seconds it will take to transmit the package at the specified bit rate.

Return Value

Returns S_OK if the method succeeds; otherwise, an error code is returned.

Remarks

GetTransmitTime will fail if it is called before the package is closed with IATVEFPackage::Close or after it is sent with IATVEFSend::SendPackage.

See Also

IATVEFPackage::Close