jitsi-meet icon indicating copy to clipboard operation
jitsi-meet copied to clipboard

[React native SDK] [iOS] - Screen share cannot working

Open AndrewTotsky opened this issue 11 months ago • 3 comments

Description:

When starting screen sharing in lib-jitsi-meet, an error is thrown Replacing a track of videoType=camera with a track of videoType=desktop is not supported in this mode. in JitsiConference.js

What is meant by mode? Why can't camera/desktop tracks be replaced? Any ideas how to get round this?

Steps to reproduce:

  1. Join to conference with participants.
  2. Click on share screen button.

Expected behavior:

Screen sharing for participants.

Actual behavior:

Screen not sharing for participants, lib-jitsi-meet thrown error.

react/features/base/tracks/actions.any.ts Screenshot 2024-04-02 at 13 17 45

JitsiConference.js Screenshot 2024-04-02 at 13 22 16

Additional information:

The camera track type and sharing screen track type are indeed different, but why can't they be replaced? What is the reason for the prohibition of this action?

AndrewTotsky avatar Apr 02 '24 06:04 AndrewTotsky

What version of LJM are you using?

saghul avatar Apr 02 '24 06:04 saghul

So you are using our RN SDK, right? What server are you connecting to?

saghul avatar Apr 04 '24 09:04 saghul

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 04 '24 01:06 github-actions[bot]