Quicr / old-quicrq

BSD 2-Clause "Simplified" License
4 stars 2 forks source link

Simplify data structure for sending streams. #95

Open huitema opened 1 year ago

huitema commented 1 year ago

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.