Home Reference Source
public class | source

MResponse

The message containing the response to create a WebRTC connexion

Constructor Summary

Public Constructor
public

constructor(temporaryId: string, peerId: string, offer: object)

Member Summary

Public Members
public

offer: *

public
public

peer: *

public

tid: *

public

Public Constructors

public constructor(temporaryId: string, peerId: string, offer: object) source

Params:

NameTypeAttributeDescription
temporaryId string

A temporary identifier during the socket creation. The key will be changed to peerId when the connexion is established successfully.

peerId string

The identifier of the peer that will be reachable through the socket being created. Null if it is yet to be known.

offer object

The WebRTC offer containing ways to establish a direct peer-to-peer connexions. See WebRTC for more information.

Public Members

public offer: * source

public offerType: * source

public peer: * source

public tid: * source

public type: string source