![]() |
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::getNumOfVideoCaptureDevices |
Gets the number of available capturing devices. More... | |
(int) | - PortSIPSDK::getVideoCaptureDeviceName:uniqueId:deviceName: |
Gets the name of a specific video capturing device given by an index. More... | |
(int) | - PortSIPSDK::getNumOfRecordingDevices |
Gets the number of audio devices available for audio recording. More... | |
(int) | - PortSIPSDK::getNumOfPlayoutDevices |
Gets the number of audio devices available for audio playout. More... | |
(NSString *) | - PortSIPSDK::getRecordingDeviceName: |
Get the name of a specific recording device given by an index. More... | |
(NSString *) | - PortSIPSDK::getPlayoutDeviceName: |
Get the name of a specific playout device given by an index. More... | |
(int) | - PortSIPSDK::setSpeakerVolume: |
Set the speaker volume level. More... | |
(int) | - PortSIPSDK::getSpeakerVolume |
Gets the speaker volume. More... | |
(int) | - PortSIPSDK::setSystemOutputMute: |
Mutes the speaker device completely in the OS. More... | |
(BOOL) | - PortSIPSDK::getSystemOutputMute |
Retrieves the output device mute state in the operating system. More... | |
(int) | - PortSIPSDK::setMicVolume: |
Sets the microphone volume level. More... | |
(int) | - PortSIPSDK::getMicVolume |
Retrieves the current microphone volume. More... | |
(int) | - PortSIPSDK::setSystemInputMute: |
Mute the microphone input device completely in the OS. More... | |
(BOOL) | - PortSIPSDK::getSystemInputMute |
Gets the mute state of the input device in the operating system. More... | |
(void) | - PortSIPSDK::audioPlayLoopbackTest: |
Used for the loop back test for audio device. More... | |
- (int) getNumOfVideoCaptureDevices |
Gets the number of available capturing devices.
- (int) getVideoCaptureDeviceName: | (int) | index | |
uniqueId: | (NSString **) | uniqueIdUTF8 | |
deviceName: | (NSString **) | deviceNameUTF8 | |
Gets the name of a specific video capturing device given by an index.
index | Device index (0, 1, 2, ..., N-1), of which N is given by getNumOfVideoCaptureDevices (). Also -1 is a valid value and will return the name of the default capturing device. |
uniqueIdUTF8 | Unique identifier of the capturing device. |
deviceNameUTF8 | A character buffer to which the device name will be copied as a null-terminated string in UTF-8 format. |
- (int) getNumOfRecordingDevices |
Gets the number of audio devices available for audio recording.
- (int) getNumOfPlayoutDevices |
Gets the number of audio devices available for audio playout.
- (NSString*) getRecordingDeviceName: | (int) | index |
Get the name of a specific recording device given by an index.
index | Device index (0, 1, 2, ..., N-1), of which N is given by getNumOfRecordingDevices (). Also -1 is a valid value and will return the name of the default recording device. |
- (NSString*) getPlayoutDeviceName: | (int) | index |
Get the name of a specific playout device given by an index.
index | Device index (0, 1, 2, ..., N-1), of which N is given by getNumOfPlayoutDevices (). Also -1 is a valid value and will return the name of the default playout device. |
- (int) setSpeakerVolume: | (int) | volume |
Set the speaker volume level.
volume | Volume of speaker. Valid value ranges 0 - 255. |
- (int) getSpeakerVolume |
Gets the speaker volume.
- (int) setSystemOutputMute: | (BOOL) | enable |
Mutes the speaker device completely in the OS.
enable | If it's set to true, the device output is muted. If set to false, the output is unmuted. |
- (BOOL) getSystemOutputMute |
Retrieves the output device mute state in the operating system.
- (int) setMicVolume: | (int) | volume |
Sets the microphone volume level.
volume | The microphone volume. The valid value ranges 0 - 255. |
- (int) getMicVolume |
Retrieves the current microphone volume.
- (int) setSystemInputMute: | (BOOL) | enable |
Mute the microphone input device completely in the OS.
enable | If it's set to true, the input device is muted. If false it is unmuted. |
- (BOOL) getSystemInputMute |
Gets the mute state of the input device in the operating system.
- (void) audioPlayLoopbackTest: | (BOOL) | enable |
Used for the loop back test for audio device.
enable | Set to true to start audio look back test, or false to stop. |