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