Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webex screen share does not work from the browser-plugin-meetings sample using Chrome on a Mac #3973

Open
pct196 opened this issue Nov 13, 2024 · 16 comments
Assignees
Labels
bug Bug

Comments

@pct196
Copy link

pct196 commented Nov 13, 2024

Describe the bug

When publishing a screen share to the webex meeting using the browser-plugin-meetings sample, other participant on the call CANNOT see the screen share.

  • I've uploaded a video showing the issue with Chrome to YouTube.
  • I've uploaded a video showing there is no issue with Firefox to YouTube

This issue was reproduced using v3.6.0 of the SDK.

To Reproduce

  • Open the Auth & Registration section
  • Open the Streams section
    • Click Load Camera
    • Click Load Microphone
  • Open the Manage Meeting section
    • In Choose a Meeting
      • Create a webex meeting from the web
      • Paste in the meeting SIP URI, select SIP URI and click Create Meeting
      • When the meeting is listed, select it
    • In Join Meeting
      • Select Join as Moderator
      • Click Join with Media
  • Open the Screen share section
    • Click Share Screen
    • Select a screen to share
    • Click Publish in meeting
    • At this point participants can't see the screen share
    • Click Unpublish in meeting
    • At this point participants see a flicker to a screen share which disappears quickly

Expected behavior

A screen share can be published to the webex meeting which is seen by other participants.

Screenshots

I've uploaded a video showing the issue to YouTube.

Platform (please complete the following information):

  • OS: macOS Sequoia 15.1 (24B83)
  • Browser: Chrome
    • Version: 131.0.6778.70 (Official Build) (arm64)
  • Browser: Firefox
    • Version: 132.0.2 (aarch64)
  • Device Type: Desktop

Additional context

Here are my console logs.

@pct196 pct196 added the bug Bug label Nov 13, 2024
@MikePhub
Copy link

Hello, Was this working previously and if so have you changed anything like OS or Browser versions?

I did notice some messages in the logs indicating no share RTP packets had been sent. Are you on a restricted network or VPN when this is happening?

10:44:29.114 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets received 0
10:44:34.115 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets sent undefined
10:44:34.115 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets received 0
10:44:39.112 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets sent undefined
10:44:39.112 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets received 0
10:44:44.115 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets sent undefined
10:44:44.115 webex.min.js:2 wx-js-sdk StatsAnalyzer:index#compareLastStatsResult --> No share RTP packets received 0

@pct196
Copy link
Author

pct196 commented Nov 14, 2024

Hi, @MikePhub.
I am not on a restricted network or VPN. This works fine with Firefox.
I'm just recreating my videos and console logs with v3.6.0 as I realised I'd used an old version of the SDK.
Paul

@MikePhub
Copy link

Hi @pct196,
Sorry I missed you were running it locally. Can you also try from our hosted sample at https://webex.github.io/webex-js-sdk/samples/browser-plugin-meetings/?

@pct196
Copy link
Author

pct196 commented Nov 14, 2024

Hi, @MikePhub.

I've just tested using the link above. The same issue occurs with Chrome where participants on the call do not see the screen share.

I've updated my initial description above to include videos and console logs using the v3.6.0 SDK from chrome and firefox.

Paul

@pct196
Copy link
Author

pct196 commented Nov 14, 2024

Hi, @MikePhub.
Is there anything else you need from me for this issue please?
Cheers,
Paul

@sreenara
Copy link
Contributor

The team is currently looking into this issue @pct196

@pct196
Copy link
Author

pct196 commented Nov 19, 2024

The Webex team have confirmed on the #webex4devs channel that this is being investigated and are hoping to release a fix by the end of November.

@pct196
Copy link
Author

pct196 commented Dec 1, 2024

The Webex team have identified the root cause for this issue. It's a server issue. They're waiting for the sever fix to be deployed in production.

@sreenara
Copy link
Contributor

sreenara commented Dec 5, 2024

This issue has been resolved on the server side and the fix is deployed in production.

@sreenara sreenara closed this as completed Dec 5, 2024
@pct196
Copy link
Author

pct196 commented Dec 8, 2024

Hi, @sreenara. Could you please reopen this issue as I'm still experiencing the same problem after the server updates.

@sreenara sreenara reopened this Dec 9, 2024
@sreenara
Copy link
Contributor

sreenara commented Dec 9, 2024

@pct196 could you please share the console logs, HAR file and webrtc-dump for the latest occurrence of the same problem?

@pct196
Copy link
Author

pct196 commented Dec 9, 2024

@sreenara I will send the details requested tomorrow.

@pct196
Copy link
Author

pct196 commented Dec 10, 2024

@pct196 could you please share the console logs, HAR file and webrtc-dump for the latest occurrence of the same problem?

I've created the requested logs/dumps. Could you confirm how you want me to send through the files please?

@sreenara
Copy link
Contributor

@pct196 as discussed over Webex, the new issue reported was due to screen sharing issues on the Mac and Chrome browser.

@sreenara sreenara reopened this Jan 30, 2025
@sreenara
Copy link
Contributor

@pct196 I'll check with the team about support for 5K and if we can test this.

@pct196
Copy link
Author

pct196 commented Feb 6, 2025

Screen sharing works for me on a 5K monitor with web.webex.com which is using this JS SDK. You've confirmed that the production site doesn't use the mediaHelpers, it uses the following code to share the screen:

import {
  LocalDisplayStream,
} from '@webex/plugin-meetings';

const videoTrack = localShareStream?.getVideoTracks()[0];

const videoShareStream = new LocalDisplayStream(new MediaStream([videoTrack])); 

Could you please update the kitchen sink app to show how to import LocalDataStream when using a <script> tag to import the minified library please?

Cheers,

Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
None yet
Development

No branches or pull requests

4 participants