![]() |
PortSIP VoIP SDK Manual for Windows
16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
|
Functions | |
Int32 | PortSIP.SIPCallbackEvents.onReceivedRtpPacket (IntPtr callbackObject, Int32 sessionId, Boolean isAudio, byte[] RTPPacket, Int32 packetSize) |
Int32 | PortSIP.SIPCallbackEvents.onSendingRtpPacket (IntPtr callbackObject, Int32 sessionId, Boolean isAudio, byte[] RTPPacket, Int32 packetSize) |
Int32 PortSIP.SIPCallbackEvents.onReceivedRtpPacket | ( | IntPtr | callbackObject, |
Int32 | sessionId, | ||
Boolean | isAudio, | ||
byte [] | RTPPacket, | ||
Int32 | packetSize | ||
) |
If setRTPCallback function is called to enable the RTP callback, this event will be triggered once receiving a RTP packet.
sessionId | The session ID of the call. |
isAudio | If the received RTP packet is of audio, this parameter returns true, otherwise false. |
RTPPacket | The memory of whole RTP packet. |
packetSize | The size of received RTP Packet. |
Int32 PortSIP.SIPCallbackEvents.onSendingRtpPacket | ( | IntPtr | callbackObject, |
Int32 | sessionId, | ||
Boolean | isAudio, | ||
byte [] | RTPPacket, | ||
Int32 | packetSize | ||
) |
If setRTPCallback function is called to enable the RTP callback, this event will be triggered once a RTP packet sent.
sessionId | The session ID of the call. |
isAudio | If the received RTP packet is of audio, this parameter returns true, otherwise false. |
RTPPacket | The memory of whole RTP packet. |
packetSize | The size of received RTP Packet. |