IRTPSPHFilter::SetMaxPacketSize

[This is preliminary documentation and subject to change.]

Set the maximum packet size for fragmentation of data. An overall maximum is set at initialization time only. SetMaxPacketSize can be called subsequently to set smaller packets sizes as desired by the application.

HRESULT SetMaxPacketSize(
  DWORD dwMaxPacketSize
);
 

Parameters

dwMaxPacketSize
[in] The maximum RTP packet size that will be produced.

Return Values

E_INVALIDARG
The packet size requested is larger than the initial maximum setting.
NOERROR
The maximum packet size has been set successfully.