HlsWithP2PConfig<HlsType>: ConstructorParameters<HlsType>[0] & {
    p2p?: PartialHlsJsP2PEngineConfig & {
        onHlsJsCreated?: ((hls: HlsWithP2PInstance<HlsType>) => void);
    };
}

Configuration type for HLS instances that includes P2P settings, augmenting standard HLS configuration with P2P capabilities.

Type Parameters

  • HlsType extends (abstract new () => unknown)

    A constructor type that produces an HLS instance.