-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
In order to achieve synchronization between 2110-20 and 2110-30 streams, so-called lip sync, we need to pass to MTL the custom timestamps. There are two flags for that in the library.
/**
- Flag bit in flags of struct st30_tx_ops.
- User control the frame pacing by pass a timestamp in st30_tx_frame_meta,
- lib will wait until timestamp is reached for each frame.
/
#define ST30_TX_FLAG_USER_PACING (MTL_BIT32(3))
/* - Flag bit in flags of struct st30_tx_ops.
- If enabled, lib will assign the rtp timestamp to the value in
- st30_tx_frame_meta(ST10_TIMESTAMP_FMT_MEDIA_CLK is used)
*/
#define ST30_TX_FLAG_USER_TIMESTAMP (MTL_BIT32(4))
The flags are available in frame-mode st30_xxx but not in pipeline mode st30p_xxx. Please expose them in the pipeline mode. If possible please extend RxTxApp sample to test this feature.
Metadata
Metadata
Assignees
Labels
No labels