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

Add flag to use Chrome "Black Frame Decoder", skipping video decode complexity. #521

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JonathanLennox
Copy link
Member

Enabled for Malleus, disabled for other tests.

…omplexity.

Enabled for Malleus, disabled for other tests.
@@ -86,6 +86,10 @@ set_defaults() {
MALLEUS_USE_STAGE_VIEW=false
fi

if [ -z "$MALLEUS_ENABLE_DECODING"; then
Copy link
Member

Choose a reason for hiding this comment

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

Is this missing a ]?

@JonathanLennox
Copy link
Member Author

Note this flag hasn't actually landed in Chrome yet, so don't merge this until it does. See https://webrtc-review.googlesource.com/c/src/+/267820/14

@@ -254,6 +254,11 @@ else if (participantType == ParticipantType.edge)
ops.addArguments("window-size=1200x600");
}

if (options.getDisableDecoding())
{
ops.addArguments("force-fieldtrials=WebRTC-BlackFrameDecoder/Enabled/");
Copy link
Member

@fippo fippo Jul 20, 2022

Choose a reason for hiding this comment

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

beware, the current plan is to enable this as a separate flag for consistency with other decoders:
--use-black-frame-decoder-for-peer-connection
-- will update the webrtc CL description accordingly

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.

3 participants