Interface AnswerOptions

interface AnswerOptions {
    connectionMetadata?: ConnectionMetadata;
    mirrorSDP?: string;
}

Properties

connectionMetadata?: ConnectionMetadata

Extra metadata to associate with the connection. This will be exposed on events like peer-connected, and can be used to add context to connections.

If this value is provided during renegotiation, it is merged key-wise with any existing metadata value for the connection (i.e. existing metadata values will not change, unless a new value for the same key is provided).

mirrorSDP?: string

A raw SDP string that should be mirrored (best efforts) where possible to create an equivalent answer, including the same media params.