Function: venc_set_channel_desc_thread_id

C Prototype

aclError aclvencSetChannelDescThreadId(aclvencChannelDesc *channelDesc, uint64_t threadId)

Python Function

ret = acl.media.venc_set_channel_desc_thread_id(venc_channel_desc, thread_id)

Function Usage

Sets the encoding channel description attribute: callback thread ID.

The Atlas Training Series Product does not support this API.

Input Description

venc_channel_desc: int, pointer address of the description of a video encoding channel.

Call acl.media.venc_create_channel_desc to create data of the aclvencChannelDesc type in advance.

thread_id: int, callback thread ID.
NOTE:

Do not pass the same thread ID for subscribing to VENC callback functions on different devices in the same process.

Return Value

ret: int, error code.