OnMediaDataRX

Top  Previous  Next

OnMediaDataRX

Occurs when audio data is available for playing.

This event is not available on .NET CF and COM versions due to their technical limitations.

 

CallToken the ID of call who is originating this audio event.

UserData the user data associated with call. This data can be set using AcceptCall(AcceptCallEx for COM)/MakeCall(MakeCallEx for COM) last parameter.

 

For C# parameter Length means number of samples.

For Delphi parameter SizeInBytes means size of samples in bytes. SizeInBytes = Length * 2

 

Please be aware this event is called very frequently. Poorly written handlers can consume too much CPU usage especially under the debugger.