Skip to main content

connect_moq_reach_for_qos

Function connect_moq_reach_for_qos 

Source
pub async fn connect_moq_reach_for_qos(
    reach: &[Destination],
    qos: &StreamOpt,
) -> Result<MoqReachConnection>
Expand description

Resolve a service-advertised reach into a live moq connection, honouring the QoS-preferred topology (#358).

Thin composition of select_reach (QoS reorder, server-authority-safe) and connect_moq_reach (in-order dial with automatic direct↔relay fallback). This is the single entry point networked subscribers should use when they have the signed StreamOpt in hand, so direct-vs-relay routing lives in ONE place and the reach the service published is the only thing ever dialed.