The current code has evolved over time. Unifying the cache management between "object source" and "relay source" was a great first step. The code has now a unified way to call quicrq_fragment_publisher_fn. However, some variables end up duplicated. For example, we see stream_ctx->next_group_id and media_ctx->current_object_id. This is confusing, creating unnecessary complexity when implementing new features such as "subscribe intent". Should be unified.
The current code has evolved over time. Unifying the cache management between "object source" and "relay source" was a great first step. The code has now a unified way to call
quicrq_fragment_publisher_fn
. However, some variables end up duplicated. For example, we seestream_ctx->next_group_id
andmedia_ctx->current_object_id
. This is confusing, creating unnecessary complexity when implementing new features such as "subscribe intent". Should be unified.