Skip to content

BUG - Setting facingMode on video inputSetting has no effect #273

@MerlinB

Description

@MerlinB

Expected behavior

Passing

inputSettings: {
    video: {
        settings: {
            facingMode: "environment",
        },
    },
},

into Daily.createFrame I'd expect the video to no longer be mirrored. (See https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/facingMode for mdn docs)

Describe the bug (unexpected behavior)

Within the Iframe, the video element still has data-mirrored=true set and the transform: scale(-1, 1); CSS property applied and is thus still mirrored.

System information

  • OS, version: MacOS
  • Browser, version: Brave

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions