Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Fix errors when setting a null preferred codec #400

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

Belchy06
Copy link
Collaborator

Relevant components:

  • Signalling server
  • Frontend library
  • Frontend UI library
  • Matchmaker
  • Platform scripts
  • SFU

Problem statement:

If a user attempts to connect to a pixel stream but doesn't receive any video, the frontend will try to update the preferred codec dropdown with a null codec.

image

Solution

We'll simply check that the codec is not null before we try to set the dropdown value.

Copy link
Contributor

@lukehb lukehb left a comment

Choose a reason for hiding this comment

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

lgtm!

@Belchy06 Belchy06 merged commit 2a21ee6 into EpicGames:master Oct 19, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants