IAMNetworkStatus::get_LostPackets (Compact 7)
3/12/2014
The method retrieves the number of lost packets.
Syntax
HRESULT get_LostPackets(
long *pLostPackets
);
Parameters
- pLostPackets
[out] Points to a long which on return will indicate the number of lost packets.
Return Values
Returns S_OK on success. Returns an HRESULT error on failure.
Remarks
This property is only valid for streaming media, and will equal zero when the HTTP protocol is used. This protocol is lossless. Packets can be lost for several reasons, such as the type and quality of the network connection.
When playback is stopped and restarted, this property is set to zero. It is not reset if playback is paused and restarted.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |