![]() |
PortSIP VoIP SDK Manual for Android
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 | com.portsip.PortSipSdk.startRecord (long sessionId, String recordFilePath, String recordFileName, boolean appendTimeStamp, int enum_audioFileFormat, int enum_audioRecordMode, int enum_videocodec, int enum_videoRecordMode) |
| int | com.portsip.PortSipSdk.stopRecord (long sessionId) |
| int com.portsip.PortSipSdk.startRecord | ( | long | sessionId, |
| String | recordFilePath, | ||
| String | recordFileName, | ||
| boolean | appendTimeStamp, | ||
| int | enum_audioFileFormat, | ||
| int | enum_audioRecordMode, | ||
| int | enum_videocodec, | ||
| int | enum_videoRecordMode | ||
| ) |
Start recording the call.
| sessionId | The session ID of call conversation. |
| recordFilePath | The file path to save record file. It must be existent. |
| recordFileName | The file name of record file. For example audiorecord.wav or videorecord.avi. |
| appendTimeStamp | Set to true to append the timestamp to the name of the recording file. |
| enum_audioFileFormat | The audio record file format, allow below values: FILEFORMAT_WAVE = 1, ///< The record audio file is WAVE format. FILEFORMAT_AMR, ///< The record audio file is in AMR format with all voice data compressed by AMR codec. |
| enum_audioRecordMode | The audio record mode, allow below values: RECORD_NONE = 0, ///< Not Record. RECORD_RECV = 1, ///< Only record the received data. RECORD_SEND, ///< Only record send data. RECORD_BOTH ///< The record audio file is WAVE format. |
| enum_videocodec | The codec used for compressing the video data to save into video record file. |
| enum_videoRecordMode | Allow to set video record mode. Support to record received and/or sent video. |
| int com.portsip.PortSipSdk.stopRecord | ( | long | sessionId | ) |
Stop recording.
| sessionId | The session ID of call conversation. |