feat: 自启动与自恢复机制
This commit is contained in:
@@ -18,6 +18,8 @@ typedef struct video_pipeline_packet_metadata {
|
||||
double longitude;
|
||||
} video_pipeline_packet_metadata_t;
|
||||
|
||||
typedef void (*video_pipeline_progress_fn)(void *context);
|
||||
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
||||
_Static_assert(sizeof(video_pipeline_packet_metadata_t) == 24, "video trailer metadata must be 24 bytes");
|
||||
#endif
|
||||
@@ -39,6 +41,8 @@ typedef struct video_pipeline_config {
|
||||
int soft_backpressure_segments;
|
||||
int hard_backpressure_segments;
|
||||
int hard_backpressure_hold_ms;
|
||||
video_pipeline_progress_fn progress_callback;
|
||||
void *progress_context;
|
||||
} video_pipeline_config_t;
|
||||
|
||||
typedef struct video_pipeline_stats {
|
||||
|
||||
Reference in New Issue
Block a user