moqt.ProbeResult
Both Session.Probe and Session.ProbeTargets deliver results via ProbeResult:
Note: RTT is not included inProbeResult. UseSession.Stats()or the underlying transport API (e.g.(*quic.Conn).ConnectionStats()) to obtain RTT, bytes sent, and bytes received.
Notify Target Bitrate
UseSession.Probe to send a target bitrate hint to the publisher.
The call can be repeated to update the target; the same underlying stream is
reused. The returned channel is closed when the session terminates.
Receive Target Bitrate
UseSession.ProbeTargets to receive target bitrate hints sent by the subscriber.
The channel has a buffer of 1 and uses latest-value semantics — if the
previous value has not been consumed it is replaced by the newer one.
Configuring Probe Behaviour
The probe loop timing can be tuned viamoqt.Config:
Error Handling
Probe operations may returnmoqt.ProbeError or moqt.SessionError:
ProbeErrorCode values.