Skip to content

Fix: broadcast extension not found fallback logic #1347

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

Merged

Conversation

ipainchaud
Copy link
Contributor

fixing #1345.

It turns out that the issue is caused by a bad "fallback" if the RTCScreenSharingExtension is not found. The instructions found here don't mention that we should set the extension id there.

In all cases though, it would be nice to update the instructions found here.

With this solution, if the key is not found, the broadcast selector lists what I suspect to be all the other available extensions.

Copy link
Member

@cloudwebrtc cloudwebrtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cloudwebrtc cloudwebrtc merged commit 43987db into flutter-webrtc:main May 11, 2023
daniel-g-favoreto-opl pushed a commit to daniel-g-favoreto-opl/flutter-webrtc that referenced this pull request Mar 24, 2025
* replaced logic fetching 'infoDictionary' value

* better fallback in the event the RTCScreenSharingExtension key doesn't exist

* added a log in case the screen sharing extention id is not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy