PLAYERSDK_API int PLAYERSDK_CALL PLVPlayerGetAudioDeviceInfo(PLVPlayerPtr player, int index, char deviceId[PLV_MAX_DEVICE_ID_LENGTH], char deviceName[PLV_MAX_DEVICE_ID_LENGTH])
the audio device info.
PLAYERSDK_API int PLAYERSDK_CALL PLVPlayerGetAudioDeviceCount(PLVPlayerPtr player)
get audio device count.
void(* OnPlayerAudioDeviceHandler)(int audioDeviceCount, void *data)
the player audio device list change.
PLAYERSDK_API int PLAYERSDK_CALL PLVSetSdkHttpRequest(SDK_HTTP_REQUEST type)
for thd sdk http request type.
PLAYERSDK_API int PLAYERSDK_CALL PLVRequestVideoInfo(bool sync, const PLVVideoRequestParam *param, OnRequestVideoInfoHandler handler, void *data)
request video info.
PLAYERSDK_API int PLAYERSDK_CALL PLVSetSdkCacertFile(const char *fileName)
set upload ca file, if use https, must set the ca file, otherwise error.
PLAYERSDK_API int PLAYERSDK_CALL PLVCancelRequestVideoInfo()
cancel request video info.
PLAYERSDK_API int PLAYERSDK_CALL PLVPlayerSetAudioDeviceHandler(PLVPlayerPtr player, OnPlayerAudioDeviceHandler handler, void *data)
for play audio device list callback.
void(* OnRequestVideoInfoHandler)(int code, const PLVVideoRequestInfo infos[], int infosNum, const PLVVideoRequestPageInfo *pageInfo, void *data)
request video info callback.
PLAYERSDK_API int PLAYERSDK_CALL PLVMigrateLocalVideoKeyFile(const char *keyFilePath, const char *secretKey)
migrate old encryption key to use token encryption key.
PLAYERSDK_API int PLAYERSDK_CALL PLVPlayerReloadAudioDevice(PLVPlayerPtr player)
reload the audio device.
void * PLVPlayerPtr
VOD player object type.
const int PLV_MAX_DEVICE_ID_LENGTH