OnRTPTXData

Top  Previous  Next

 

OnRTPTXData

OnRTPTXData

Occurs when RTP packet should be sent to remote party.

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.

 

Data parameters references the packets payload data.

PayloadType parameter means the RTP packet payload type.

Bytes means size of packets payload in bytes.

Modified parameter should be set by your handler if packet was modified.

You can change the size of packet also just set new size to Bytes parameter. Please be careful the maximum size of packet is 4096 bytes.