|
OnRTPRXData |
Top Previous Next |
|
OnRTPRXData Occurs when RTP packet is received from 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 packet’s payload data. PayloadType parameter means the RTP packet payload type. Bytes means size of packet’s 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. |