![]() |
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.getNumOfRecordingDevices () |
Gets the count of audio devices available for audio recording. More... | |
Int32 | PortSIP.PortSIPLib.getNumOfPlayoutDevices () |
Gets the number of audio devices available for audio playout. More... | |
Int32 | PortSIP.PortSIPLib.getRecordingDeviceName (Int32 deviceIndex, StringBuilder nameUTF8, Int32 nameUTF8Length) |
Gets the name of a specific recording device given by an index. More... | |
Int32 | PortSIP.PortSIPLib.getPlayoutDeviceName (Int32 deviceIndex, StringBuilder nameUTF8, Int32 nameUTF8Length) |
Get the name of a specific playout device given by an index. More... | |
Int32 | PortSIP.PortSIPLib.setSpeakerVolume (Int32 volume) |
Set the speaker volume level. More... | |
Int32 | PortSIP.PortSIPLib.getSpeakerVolume () |
Gets the speaker volume level. More... | |
Int32 | PortSIP.PortSIPLib.setMicVolume (Int32 volume) |
Sets the microphone volume level. More... | |
Int32 | PortSIP.PortSIPLib.getMicVolume () |
Retrieves the current microphone volume. More... | |
void | PortSIP.PortSIPLib.audioPlayLoopbackTest (Boolean enable) |
Use it for the audio device loop back test. More... | |
Int32 | PortSIP.PortSIPLib.getNumOfVideoCaptureDevices () |
Get the number of available capturing devices. More... | |
Int32 | PortSIP.PortSIPLib.getVideoCaptureDeviceName (Int32 deviceIndex, StringBuilder uniqueIdUTF8, Int32 uniqueIdUTF8Length, StringBuilder deviceNameUTF8, Int32 deviceNameUTF8Length) |
Get the name of a specific video capture device given by an index. More... | |
Int32 | PortSIP.PortSIPLib.showVideoCaptureSettingsDialogBox (String uniqueIdUTF8, Int32 uniqueIdUTF8Length, String dialogTitle, IntPtr parentWindow, Int32 x, Int32 y) |
Display the capture device property dialog box for the specified capture device. More... | |
Int32 PortSIP.PortSIPLib.getNumOfRecordingDevices | ( | ) |
Gets the count of audio devices available for audio recording.
Int32 PortSIP.PortSIPLib.getNumOfPlayoutDevices | ( | ) |
Gets the number of audio devices available for audio playout.
Int32 PortSIP.PortSIPLib.getRecordingDeviceName | ( | Int32 | deviceIndex, |
StringBuilder | nameUTF8, | ||
Int32 | nameUTF8Length | ||
) |
Gets the name of a specific recording device given by an index.
deviceIndex | Device index (0, 1, 2, ..., N-1), where N is given by getNumOfRecordingDevices (). Also -1 is a valid value and will return the name of the default recording device. |
nameUTF8 | A character buffer to which the device name will be copied as a null-terminated string in UTF-8 format. |
nameUTF8Length | The size of nameUTF8 buffer. It cannot be less than 128. |
Int32 PortSIP.PortSIPLib.getPlayoutDeviceName | ( | Int32 | deviceIndex, |
StringBuilder | nameUTF8, | ||
Int32 | nameUTF8Length | ||
) |
Get the name of a specific playout device given by an index.
deviceIndex | |
deviceIndex | Device index (0, 1, 2, ..., N-1), where N is given by getNumOfRecordingDevices (). Also -1 is a valid value and will return the name of the default recording device. |
nameUTF8 | A character buffer to which the device name will be copied as a null-terminated string in UTF-8 format. |
nameUTF8Length | The size of nameUTF8 buffer. It cannot be less than 128. |
Int32 PortSIP.PortSIPLib.setSpeakerVolume | ( | Int32 | volume | ) |
Set the speaker volume level.
volume | Volume level of speaker. Valid value ranges 0 - 255. |
Int32 PortSIP.PortSIPLib.getSpeakerVolume | ( | ) |
Gets the speaker volume level.
Int32 PortSIP.PortSIPLib.setMicVolume | ( | Int32 | volume | ) |
Sets the microphone volume level.
volume | The microphone volume level. Valid value ranges 0 - 255. |
Int32 PortSIP.PortSIPLib.getMicVolume | ( | ) |
Retrieves the current microphone volume.
void PortSIP.PortSIPLib.audioPlayLoopbackTest | ( | Boolean | enable | ) |
Use it for the audio device loop back test.
enable | Set to true to start audio look back test; or fase to stop. |
Int32 PortSIP.PortSIPLib.getNumOfVideoCaptureDevices | ( | ) |
Get the number of available capturing devices.
Int32 PortSIP.PortSIPLib.getVideoCaptureDeviceName | ( | Int32 | deviceIndex, |
StringBuilder | uniqueIdUTF8, | ||
Int32 | uniqueIdUTF8Length, | ||
StringBuilder | deviceNameUTF8, | ||
Int32 | deviceNameUTF8Length | ||
) |
Get the name of a specific video capture device given by an index.
deviceIndex | Device index (0, 1, 2, ..., N-1), where 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. |
uniqueIdUTF8Length | Size in bytes of uniqueIdUTF8. |
deviceNameUTF8 | A character buffer to which the device name will be copied as a null-terminated string in UTF-8 format. |
deviceNameUTF8Length | The size of nameUTF8 buffer. It cannot be less than 128. |
Int32 PortSIP.PortSIPLib.showVideoCaptureSettingsDialogBox | ( | String | uniqueIdUTF8, |
Int32 | uniqueIdUTF8Length, | ||
String | dialogTitle, | ||
IntPtr | parentWindow, | ||
Int32 | x, | ||
Int32 | y | ||
) |
Display the capture device property dialog box for the specified capture device.
uniqueIdUTF8 | Unique identifier of the capture device. |
uniqueIdUTF8Length | Size in bytes of uniqueIdUTF8. |
dialogTitle | The title of the video settings dialog. |
parentWindow | Parent window used for the dialog box. It should originally be a HWND. |
x | Horizontal position for the dialog relative to the parent window, in pixels. |
y | Vertical position for the dialog relative to the parent window, in pixels. |