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

fix: resolve system audio as null if unavailable #54

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

brycetham
Copy link
Contributor

This PR updates createDisplayTrackWithAudio to resolve the audio track as null if it is not available (i.e. the user unchecks the share audio option when selecting content to share in Chrome). This fix is necessary because LocalTrack expects at least one track to exist in the media stream when created.

@brycetham brycetham requested a review from bbaldino June 2, 2023 18:21
@brycetham brycetham merged commit c90617b into main Jun 2, 2023
@brycetham brycetham deleted the btham/fix_slides_audio branch June 2, 2023 18:24
bbaldino pushed a commit that referenced this pull request Jun 2, 2023
## [1.7.1](v1.7.0...v1.7.1) (2023-06-02)

### Bug Fixes

* resolve system audio as null if unavailable ([#54](#54)) ([c90617b](c90617b))
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