这是indexloc提供的服务,不要输入任何密码
Skip to content

Instead of screen sharing, video of the front camera is shown... #468

@CoMatu

Description

@CoMatu

I have a Flutter web application. I open it in the mobile browser Chrome or Safari on an Android or IOS device.

I start a video call, try to show the screen of the mobile phone, instead there is a demonstration of video from the device's front camera. What could be the problem? What should I check?

try {
          await _livekitRoom.localParticipant?.setScreenShareEnabled(
            true,
            screenShareCaptureOptions: const ScreenShareCaptureOptions(
              params: VideoParametersPresets.screenShareH1080FPS30,
              maxFrameRate: MAX_FRAME_RATE,
            ),
          );
        } catch (_) {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions