|
cn.3tee.avd_SDK-C
3.2.0
|
类 | |
| struct | Audioexport_Callback |
类型定义 | |
| typedef struct Audioexport_Callback * | LPAudioexport_Callback |
函数 | |
| RT_API_EXPORT Result | avd_Audioexport_init (AVDHandle roomHandle, LPAudioexport_Callback cb, AVDHandle &audioexportHandle) |
| 音频导出接口 导出房间内用户的音频数据 更多... | |
| RT_API_EXPORT Result | avd_Audioexport_uninit (AVDHandle audioexportHandle) |
| 反初始化音频导出接口. 更多... | |
| RT_API_EXPORT Result | avd_Audioexport_selectUser4Export (AVDHandle audioexportHandle, const char *userId, int freq=16000, int channels=1) |
| 选择需要导出指定用户的音频 更多... | |
| RT_API_EXPORT Result | avd_Audioexport_stopExport (AVDHandle audioexportHandle) |
| 停止指定用户的音频导出 更多... | |
| typedef struct Audioexport_Callback* LPAudioexport_Callback |
| RT_API_EXPORT Result avd_Audioexport_init | ( | AVDHandle | roomHandle, |
| LPAudioexport_Callback | cb, | ||
| AVDHandle & | audioexportHandle | ||
| ) |
音频导出接口 导出房间内用户的音频数据
初始化音频导出接口.
| [in] | roomHandle | 房间句柄。 |
| [in] | cb | 音频导出模块回调接口指针。 |
| [out] | audioHandle | 音频导出模块句柄。 |
| RT_API_EXPORT Result avd_Audioexport_selectUser4Export | ( | AVDHandle | audioexportHandle, |
| const char * | userId, | ||
| int | freq = 16000, |
||
| int | channels = 1 |
||
| ) |
选择需要导出指定用户的音频
| [in] | audioexportHandle | 音频导出模块句柄。 |
| [in] | userid | 选择需要导出音频的用户id。 |
| [in] | freq | 采样频率 :8000,16000,44100 ,如果不填,默认16000 |
| [in] | channels | 通道数 :1,2 如果不填,默认是1 |
| RT_API_EXPORT Result avd_Audioexport_stopExport | ( | AVDHandle | audioexportHandle | ) |
停止指定用户的音频导出
| RT_API_EXPORT Result avd_Audioexport_uninit | ( | AVDHandle | audioexportHandle | ) |
反初始化音频导出接口.
1.8.15