![]() |
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.addSupportedMimeType (String methodName, String mimeType, String subMimeType) |
| Set the SDK to receive the SIP messages that include special mime type. More... | |
| Int32 | PortSIP.PortSIPLib.setAudioSamples (Int32 ptime, Int32 maxPtime) |
| Set the audio capture sample. More... | |
| Int32 PortSIP.PortSIPLib.addSupportedMimeType | ( | String | methodName, |
| String | mimeType, | ||
| String | subMimeType | ||
| ) |
Set the SDK to receive the SIP messages that include special mime type.
| methodName | Method name of the SIP message, such as INVITE, OPTION, INFO, MESSAGE, UPDATE, ACK etc. For more details please read the RFC3261. |
| mimeType | The mime type of SIP message. |
| subMimeType | The sub mime type of SIP message. |
| Int32 PortSIP.PortSIPLib.setAudioSamples | ( | Int32 | ptime, |
| Int32 | maxPtime | ||
| ) |
Set the audio capture sample.
| ptime | It should be a multiple of 10 between 10 - 60 (with 10 and 60 inclusive). |
| maxPtime | For the "maxptime" attribute, it should be a multiple of 10 between 10 - 60 (with 10 and 60 inclusive). It cannot be less than "ptime". |