SimulcastConfig: {
    activeEncodings: TrackEncoding[];
    enabled: boolean;
}

A type describing simulcast configuration.

At the moment, simulcast track is initialized in three versions - low, medium and high. High resolution is the original track resolution, while medium and low resolutions are the original track resolution scaled down by 2 and 4 respectively.

Type declaration

  • activeEncodings: TrackEncoding[]

    list of active encodings. Encoding can be one of "h" (original encoding), "m" (scaled down x2), "l" (scaled down x4).

  • enabled: boolean

    whether to simulcast track or not. By default simulcast is disabled.

Generated using TypeDoc