Function createStreamCompanionWebSocketConnection

  • This method will setup an infinite loop that will continuously try to connect to StreamCompanion.

    Returns

    A function that will if there is a connection and data available return that data. Otherwise it will just return undefined.

    Parameters

    • streamCompanionUrl: string

      The URL of the StreamCompanion websocket.

    • logger: Readonly<Logger>

      Global logger.

    Returns StreamCompanionConnection

Generated using TypeDoc