BroadpeakSettings Class

public class BroadpeakSettings

BroadpeakSettings

Lifecycle

  • Broadpeak settings

    Declaration

    Swift

    public init(
        analyticsAddress: String,
        nanoCDNHost: String,
        domainNames: String,
        options: [BroadpeakStreamingSessionOptions: Any]? = nil
    )

    Parameters

    analyticsAddress

    Address of the analytics server (i.e. “http://server-host:8080”) or a analytics server list (i.e. “http://server-host:8080,https://server-host-2”)

    nanoCDNHost

    A nanoCDN host configuration. null/empty string “” or “discover” to enable discovery on the local network or “127.0.0.1” to enable discovery on the local device or “*” to enable discovery on the local network and the local device or a nanoCDN host list (i.e “192.168.1.1”)

    domainNames

    The domain name list used to identify Broadpeak sessions (i.e “cdn.broadpeak.com,cdn2.broadpeak.com”) “*” specific value is used to declare that all sessions are using a Broadpeak CDN, null/empty string “” is used to declare that all given url are not hosted on a Broadpeak CDN

    options

    Dictionary of options. Some options have specific values, pelase check Broadpeak documentation or refer to SmartLib StreamingSessionOptions.h

Public