![]() |
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.setAudioRtcpBandwidth (long sessionId, int BitsRR, int BitsRS, int KBitsAS) |
int | com.portsip.PortSipSdk.setVideoRtcpBandwidth (long sessionId, int BitsRR, int BitsRS, int KBitsAS) |
int | com.portsip.PortSipSdk.enableAudioQos (boolean state) |
int | com.portsip.PortSipSdk.enableVideoQos (boolean state) |
int | com.portsip.PortSipSdk.setVideoMTU (int mtu) |
int com.portsip.PortSipSdk.setAudioRtcpBandwidth | ( | long | sessionId, |
int | BitsRR, | ||
int | BitsRS, | ||
int | KBitsAS | ||
) |
Set the audio RTCP bandwidth parameters as RFC3556.
sessionId | Set the audio RTCP bandwidth parameters as RFC3556. |
BitsRR | The bits for the RR parameter. |
BitsRS | The bits for the RS parameter. |
KBitsAS | The Kbits for the AS parameter. |
int com.portsip.PortSipSdk.setVideoRtcpBandwidth | ( | long | sessionId, |
int | BitsRR, | ||
int | BitsRS, | ||
int | KBitsAS | ||
) |
Set the video RTCP bandwidth parameters as the RFC3556.
sessionId | The session ID of call conversation. |
BitsRR | The bits for the RR parameter. |
BitsRS | The bits for the RS parameter. |
KBitsAS | The Kbits for the AS parameter. |
int com.portsip.PortSipSdk.enableAudioQos | ( | boolean | state | ) |
Set the DSCP (differentiated services code point) value of QoS (Quality of Service) for audio channel.
state | Set to YES to enable audio QoS and DSCP value will be 46; or NO to disable audio QoS and DSCP value will be 0. |
int com.portsip.PortSipSdk.enableVideoQos | ( | boolean | state | ) |
Set the DSCP(differentiated services code point) value of QoS(Quality of Service) for video channel.
state | Set to YES to enable video QoS and DSCP value will be 34; or NO to disable video QoS and DSCP value will be 0. |
int com.portsip.PortSipSdk.setVideoMTU | ( | int | mtu | ) |
Set the MTU size for video RTP packet.
mtu | Set MTU value. Allow values range 512 - 65507. Default is 14000. |