StreamLink Connection types

StreamLink supports five RTTP connection types, but not all connection types are supported by each platform on which StreamLink runs.

Contents:

Connection types

The table below lists the RTTP connection types supported by StreamLink. For the precise connection types supported by each platform, see the sections that follow.

Type Name Description

1

Direct

TCP/IP socket. The client connects to the server via a TCP/IP socket, and the server streams data directly to the client across this connection.

2

HTTP Streaming

Open HTTP/1.1 connection. The server holds the requested page open and streams data to the client until the client closes the connection.

5

Forever Frame

Open HTTP/1.1 connection hosted in an IFRAME element.

8

WebSocket

WebSocket protocol. The best connection type for web browsers, and the connection type with the highest precedence in StreamLink for JavaScript.

9

Server-Sent Events

Server-Sent Events technology.

The table below shows the RTTP connection types supported by each platform for which StreamLink is available.

Type Name Java Android JavaScript iOS .NET

1

Direct

2

HTTP Streaming

5

Forever Frame

See Web browser support

8

WebSocket

See Web browser support

7.1+

9

Server-Sent Events (SSE)

See Web browser support

Web browser support for RTTP connection types

The table below shows the RTTP connection types supported by common web browsers.

See the StreamLink for JavaScript (SLJS) release notes for the browser versions that a specific release of SLJS was tested on.
Type Name IE Edge Chrome Firefox

8

WebSocket

10–11

9

Server-Sent Events (SSE)

5

Forever Frame

8–9