• Build an URL from type and params Can assign params.mediaExt or params.streamName

    Parameters

    • type: Type

      Type of the connection wanted

    • params: Params

      Connection parameters

    • protocol: string = 'wss'

      Optional parameter to choose the prefered protocol to connect

    Returns URL

    The URL of connection

Generated using TypeDoc