The number of bytes in the "application updated" RTP buffer. This value is only used when the media engine is ready to transmit an RTP media buffer. The media engine will initialize this member to zero and then call the user's callback procedure. Application software should not change this value unless one of the following is true:

The application has modified the RTP header in some way:

If your application has modified the RTP header, you must set this value to the size of the RTP packet that will be transmitted. Doing so will signal to the media engine that internal RTP header manipulations should not be performed. If you modify the RTP header and you do not set this value, the media engine will overwrite your RTP header changes before it transmits the RTP media packet.

The application has encrypted the entire RTP packet:

If your application has encrypted the entire RTP packet (RTP header and sample payload data), you must set this value to the size of the RTP packet that will be transmitted. Doing so will signal to the media engine that internal RTP header manipulations should not be performed. If you encrypt the complete RTP packet and you do not set this value, the media engine will corrupt your encrypted RTP packet.

Namespace:  LanScape
Assembly:  LMEVoipManaged (in LMEVoipManaged.dll) Version: 6.0.5226.26700

Syntax

C#
public uint NewRtpBufferLengthInBytes
Visual Basic (Declaration)
Public NewRtpBufferLengthInBytes As UInteger
Visual C++
public:
unsigned int NewRtpBufferLengthInBytes
J#
public UInt32 NewRtpBufferLengthInBytes

See Also