![]() |
PortSIP VoIP SDK Manual for iOS
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 | |
| (void) | - <PortSIPEventDelegate >::onReceivedRTPPacket:isAudio:RTPPacket:packetSize: |
| (void) | - <PortSIPEventDelegate >::onSendingRTPPacket:isAudio:RTPPacket:packetSize: |
| - (void PortSIPEventDelegate) onReceivedRTPPacket: | (long) | sessionId | |
| isAudio: | (BOOL) | isAudio | |
| RTPPacket: | (unsigned char *) | RTPPacket | |
| packetSize: | (int) | packetSize | |
If setRTPCallback function is called to enable the RTP callback, this event will be triggered once a RTP packet received.
| sessionId | The session ID of the call. |
| isAudio | If the received RTP packet is of audio, this parameter is true, otherwise false. |
| RTPPacket | The memory of whole RTP packet. |
| packetSize | The size of received RTP Packet. |
| - (void PortSIPEventDelegate) onSendingRTPPacket: | (long) | sessionId | |
| isAudio: | (BOOL) | isAudio | |
| RTPPacket: | (unsigned char *) | RTPPacket | |
| packetSize: | (int) | 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. |