![]() |
PortSIP VoIP SDK Manual for Android
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 | |
int | com.portsip.PortSipSdk.getAudioStatistics (long sessionId, int[] statistics) |
int | com.portsip.PortSipSdk.getVideoStatistics (long sessionId, int[] statistics) |
int com.portsip.PortSipSdk.getAudioStatistics | ( | long | sessionId, |
int [] | statistics | ||
) |
Obtain the statistics of audio channel.
sessionId | The session ID of call conversation. |
statistics | Return audio statistics statistics[0] - The number of sent bytes. statistics[1] - The number of sent packets. statistics[2] - The number of sent but lost packet. statistics[3] - Fraction of sent but lost packet in percentage. statistics[4] - The round-trip time of the session, in milliseconds. statistics[5] - Sent Audio codec type. statistics[6] - The sent jitter, in milliseconds. statistics[7] - The sent audio level.It ranges 0 - 9. statistics[8] - The number of received bytes. statistics[9] - The number of received packets. statistics[10] - The number of received but lost packets. statistics[11] - Fraction of received but lost packet in percentage. statistics[12] - Received Audio codec type. statistics[13] - The received jitter, in milliseconds. statistics[14] - The received audio level.It ranges 0 - 9. |
int com.portsip.PortSipSdk.getVideoStatistics | ( | long | sessionId, |
int [] | statistics | ||
) |
Obtain the statistics of video channel.
sessionId | The session ID of call conversation. |
statistics | Return Video statistics statistics[0] - The number of sent bytes. statistics[1] - The number of sent packets. statistics[2] - The number of sent but lost packet. statistics[3] - Fraction of sent lost in percentage. statistics[4] - The round-trip time of the session, in milliseconds. statistics[5] - Send Video codec type. statistics[6] - Frame width for the sent video. statistics[7] - Frame height for the sent video. statistics[8] - Bitrate in BPS for the sent video. statistics[9] - Frame rate for the sent video. statistics[10] - The number of received bytes. statistics[11] - The number of received packets. statistics[12] - The number of received but lost packet. statistics[13] - Fraction of received but lost packet in percentage. statistics[14] - Received Video codec type. statistics[15] - Frame width for the received video. statistics[16] - Frame height for the received video. statistics[17] - (This parameter is not implemented yet)Bitrate in BPS for the received video. statistics[18] - Framerate for the received video. statistics[19] - The number of sent bytes. |