Skip to content

Make defaults optional #1589

@brokeboiflex

Description

@brokeboiflex

Describe the problem

There’s no way to prevent the default behavior, such as the firing of handleDeviceChange, without modifying the source code — which makes it difficult to implement custom setups like publishing multiple video tracks from a single participant.

Describe the proposed solution

Extend the RoomOptions interface with a preventDefaults flag that allows developers to opt out of Livekit’s internal default behaviors

Alternatives considered

I forked it and removed them completely https://github.com/brokeboiflex/nondefault-client-sdk-js.git

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions