![]() |
PortSIP VoIP SDK Manual for Mac
15.1
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::sendOptions:sdp: |
| Send OPTIONS message. More... | |
| (int) | - PortSIPSDK::sendInfo:mimeType:subMimeType:infoContents: |
| Send an INFO message to remote side in dialog. More... | |
| (long) | - PortSIPSDK::sendMessage:mimeType:subMimeType:message:messageLength: |
| Send a MESSAGE message to remote side in dialog. More... | |
| (long) | - PortSIPSDK::sendOutOfDialogMessage:mimeType:subMimeType:message:messageLength: |
| Send an out of dialog MESSAGE message to remote side. More... | |
| - (int) sendOptions: | (NSString *) | to | |
| sdp: | (NSString *) | sdp | |
Send OPTIONS message.
| to | The recipient of OPTIONS message. |
| sdp | The SDP of OPTIONS message. It's optional if user does not wish to send the SDP with OPTIONS message. |
| - (int) sendInfo: | (long) | sessionId | |
| mimeType: | (NSString *) | mimeType | |
| subMimeType: | (NSString *) | subMimeType | |
| infoContents: | (NSString *) | infoContents | |
Send an INFO message to remote side in dialog.
| sessionId | The session ID of call. |
| mimeType | The mime type of INFO message. |
| subMimeType | The sub mime type of INFO message. |
| infoContents | The contents to be sent with INFO message. |
| - (long) sendMessage: | (long) | sessionId | |
| mimeType: | (NSString *) | mimeType | |
| subMimeType: | (NSString *) | subMimeType | |
| message: | (NSData *) | message | |
| messageLength: | (int) | messageLength | |
Send a MESSAGE message to remote side in dialog.
| sessionId | The session ID of the call. |
| mimeType | The mime type of MESSAGE message. |
| subMimeType | The sub mime type of MESSAGE message. |
| message | The contents to be sent with MESSAGE message. Binary data allowed. |
| messageLength | The message size. |
| - (long) sendOutOfDialogMessage: | (NSString *) | to | |
| mimeType: | (NSString *) | mimeType | |
| subMimeType: | (NSString *) | subMimeType | |
| message: | (NSData *) | message | |
| messageLength: | (int) | messageLength | |
Send an out of dialog MESSAGE message to remote side.
| to | The message recipient, such as sip:receiver@portsip.com. |
| mimeType | The mime type of MESSAGE message. |
| subMimeType | The sub mime type of MESSAGE message. |
| message | The contents sent with MESSAGE message. Binary data allowed. |
| messageLength | The message size. |