Red5ProSharedObjectSocket()

A bare-bones Proxy for WebSocket connection to be used by Red5ProSharedObjects.

new Red5ProSharedObjectSocket()

Methods

close()

Request to close down the WebSocket connection.

init(configuration, id) → {Promise}

Initialize the WebSocket connection based on configuration properties.

Parameters:
Name Type Description
configuration Object

Configuration object used in construction WebSocket endpoint URL based on properties.

id String

Optional identifier for the shared object connection instance. Needs to be unique. Autogenerated if left undefined.

Returns:
Promise