![]() |
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.PortSIPLib.addAudioCodec (AUDIOCODEC_TYPE codecType) |
Enable an audio codec. It will be appears in SDP. More... | |
Int32 | PortSIP.PortSIPLib.addVideoCodec (VIDEOCODEC_TYPE codecType) |
Enable a video codec. It will appear in SDP. More... | |
Boolean | PortSIP.PortSIPLib.isAudioCodecEmpty () |
Detect if enabled audio codecs is empty or not. More... | |
Boolean | PortSIP.PortSIPLib.isVideoCodecEmpty () |
Detect if enabled video codecs is empty or not. More... | |
Int32 | PortSIP.PortSIPLib.setAudioCodecPayloadType (AUDIOCODEC_TYPE codecType, Int32 payloadType) |
Set the RTP payload type for dynamic audio codec. More... | |
Int32 | PortSIP.PortSIPLib.setVideoCodecPayloadType (VIDEOCODEC_TYPE codecType, Int32 payloadType) |
Set the RTP payload type for dynamic Video codec. More... | |
void | PortSIP.PortSIPLib.clearAudioCodec () |
Remove all enabled audio codecs. | |
void | PortSIP.PortSIPLib.clearVideoCodec () |
Remove all enabled video codecs. | |
Int32 | PortSIP.PortSIPLib.setAudioCodecParameter (AUDIOCODEC_TYPE codecType, String parameter) |
Set the codec parameter for audio codec. More... | |
Int32 | PortSIP.PortSIPLib.setVideoCodecParameter (VIDEOCODEC_TYPE codecType, String parameter) |
Set the codec parameter for video codec. More... | |
Int32 PortSIP.PortSIPLib.addAudioCodec | ( | AUDIOCODEC_TYPE | codecType | ) |
Enable an audio codec. It will be appears in SDP.
codecType | Audio codec type. |
Int32 PortSIP.PortSIPLib.addVideoCodec | ( | VIDEOCODEC_TYPE | codecType | ) |
Enable a video codec. It will appear in SDP.
codecType | Video codec type. |
Boolean PortSIP.PortSIPLib.isAudioCodecEmpty | ( | ) |
Detect if enabled audio codecs is empty or not.
Boolean PortSIP.PortSIPLib.isVideoCodecEmpty | ( | ) |
Detect if enabled video codecs is empty or not.
Int32 PortSIP.PortSIPLib.setAudioCodecPayloadType | ( | AUDIOCODEC_TYPE | codecType, |
Int32 | payloadType | ||
) |
Set the RTP payload type for dynamic audio codec.
codecType | Audio codec type, which is defined in the PortSIPTypes file. |
payloadType | The new RTP payload type that you want to set. |
Int32 PortSIP.PortSIPLib.setVideoCodecPayloadType | ( | VIDEOCODEC_TYPE | codecType, |
Int32 | payloadType | ||
) |
Set the RTP payload type for dynamic Video codec.
codecType | Video codec type, which is defined in the PortSIPTypes file. |
payloadType | The new RTP payload type that you want to set. |
Int32 PortSIP.PortSIPLib.setAudioCodecParameter | ( | AUDIOCODEC_TYPE | codecType, |
String | parameter | ||
) |
Set the codec parameter for audio codec.
codecType | Audio codec type, defined in the PortSIPTypes file. |
parameter | The parameter in string format. |
Int32 PortSIP.PortSIPLib.setVideoCodecParameter | ( | VIDEOCODEC_TYPE | codecType, |
String | parameter | ||
) |
Set the codec parameter for video codec.
codecType | Video codec type, defined in the PortSIPTypes file. |
parameter | The parameter in string format. |