Function buildPreCallNetworkReport

  • Build the network report section from the diagnostic context.

    Reads stats samples from the context, normalizes RTT/jitter/packet-loss/bytes/bitrate, classifies quality, and provides reason inputs for the verdict module.

    Returns an unknown-quality report if no stats samples are available.

    Parameters

    Returns PreCallNetworkReport | undefined