Manages a websocket connection to the COGS TCP relay which can be used to send RTSP video feeds to the web.

Constructors

Methods

Constructors

Methods

  • Start an RTSP video stream on with the given URI on the given video element.

    Parameters

    • params: {
          playbackRate?: number;
          restartIfStopped?: boolean;
          uri: string;
          videoElement: HTMLVideoElement;
      }

    Returns { close: () => void }

    An object with a function to close the pipeline