WebrtcSignalingMessage.fromJson()

DESCRIPTION

Construct a WebRTC Signaling message from the JSON format defined by the protocol.

If the JSON is invalid or not following the protocol, this will throw an exception.

DECLARATION

static WebrtcSignalingMessage fromJson(nlohmann::json& jsonMessage)

PARAMETERS

jsonMessage:
The message to decode.

RETURNS

The created signaling message.