Brave Shows Black Screen in Parsec Web App


Description of the issue: Trying to use web.parsec.app in Brave 1.91.172 on Windows 11 results in a black screen. Toggling the different resolution and bandwith options does not make any difference. The problem also persists when Shields are off. The web app works in both Edge and Vivaldi, so I’m thinking this issue is something specific to Brave.

(The Parsec website for anyone who wants to understand what it actually does: https://parsec.app/)

Exact URL of the website in question: https://web.parsec.app

Did the issue present with default Shields settings? yes

Does the site function as expected when Shields are turned off? no

Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration.: no

Does the site work as expected when using Chrome? yes

Brave version (check About Brave): 1.91.172

Error message in the console.

image

@TaterTot

Reported your issue (including your screenshot ← thanks) to ChatGPT; all the following is the response:


Parsec Web relies heavily on the WebCodecs API (VideoDecoder) for low-latency streaming. In Brave, the decoder is failing with:

  • Unsupported configuration → Brave can’t initialize a supported hardware/software decoder for the stream format
  • decode on a closed codec → downstream failure after initialization fails

Edge works because it’s successfully using a compatible Chromium media pipeline + GPU decode path on that machine.


Most likely causes in Brave

On Windows 11, this is usually one of:

  1. Hardware acceleration disabled or broken in Brave
  2. WebCodecs disabled or partially gated behind flags
  3. GPU driver mismatch / blocked codec (H.264 / AV1 / HEVC)
  4. ANGLE backend incompatibility (D3D11 vs D3D9 fallback issues)
  5. Brave’s stricter privacy/media sandbox interfering with codec init

Fixes to try (in order)

1) Verify hardware acceleration is ON

Go to:

  • brave://settings/system

Enable:

  • “Use hardware acceleration when available”

Then fully restart Brave.

(If it’s already ON, toggle it OFF → restart → ON again → restart. This often resets the media pipeline.)


2) Check GPU + decode status

Open:

  • brave://gpu

Look for:

  • Video Decode: Hardware accelerated
  • Any “Software only” or “Disabled” indicators

If video decode is not hardware accelerated → that’s your root cause.


3) Enable WebCodecs flag explicitly

Go to:

  • brave://flags/#enable-webcodecs

Set to:

  • Enabled

Restart Brave.

Also check (if present):

  • Override software rendering list → Enabled

4) Force a different graphics backend (important on Windows)

In brave://flags search:

  • Choose ANGLE graphics backend

Try:

  • D3D11 (recommended)
  • If already D3D11 → try D3D9 as a test

Restart after each change.


5) Update GPU drivers (very important for WebCodecs)

Even if Edge works, Brave may hit different code paths.

Update:

  • NVIDIA / AMD / Intel graphics driver to latest stable

Then reboot.


6) Rule out Brave profile corruption

Test:

  • New Brave profile (not just incognito)

If it works there → the issue is profile/flag/state related.


7) Check codec support mismatch (common with Parsec)

Parsec may be trying to negotiate:

  • H.264 (baseline/main/high)
  • AV1 (less likely)
  • hardware-accelerated path only

If Brave can’t initialize the requested config, you’ll see exactly:

“Unsupported configuration”


Why Edge + Vivaldi work

Both likely:

  • Successfully fall back to a supported hardware decoder path
  • Or support the exact WebCodecs configuration Parsec is requesting
  • Or have slightly different GPU feature enablement defaults

Brave is often the odd one out due to:

  • stricter privacy sandboxing
  • different default media flags
  • occasional WebCodecs gating differences

Thank you for your response! What I’ve found based on what you suggested:

Hardware acceleration is enabled as is Video Decode in the gpu page. Toggling it off and on again did not make any changes.

My version does not have an #enable-webcodecs flag.

Changing the ANGLE graphics back did not work, and neither did overriding the software rendering list.

A fresh profile with all default settings did not work.

Thank you again!

@TaterTot

‘brave://gpu’

Please provide screenshot - example:

The settings for Brave in the GPU section:

The GPU settings in Vivaldi for comparison (known to work in Vivaldi):

@TaterTot

ChatGPT again:


The most important clue remains:

Video decode error: OperationError: Unsupported configuration

That error is generated by the WebCodecs API before actual decoding starts. In other words, Parsec asks Brave:

“Can you create a decoder with this configuration?”

and Brave responds:

“Nope, unsupported.”

The subsequent “closed codec” error is just fallout from that failure.

In DevTools, it would be useful to inspect whether Parsec is attempting:

  • H.264 (avc1)
  • HEVC (hvc1 / hev1)
  • VP9 (vp09)
  • AV1 (av01)

If Brave is rejecting one codec profile while Edge accepts it, that narrows things.

So sayeth ChatGPT

Parsec lets you see which codec it is using from one of its menus. The last time I looked, it said it was using H.264.

Thank you!

@TaterTot

ChatGPT again:


Then the question becomes which H.264 configuration Brave is rejecting.

H.264 is not a single format. A browser must support the specific combination of:

  • Codec string (avc1.xxxxxx)
  • Profile (Baseline, Main, High, etc.)
  • Level (4.2, 5.1, 5.2, etc.)
  • Bit depth
  • Chroma format

Edge and Brave are both Chromium-based, but they don’t necessarily expose exactly the same decoder capabilities through the WebCodecs API. It’s possible that:

  1. Parsec requests an H.264 profile/level combination.
  2. Edge reports that configuration as supported.
  3. Brave reports it as unsupported.
  4. Parsec doesn’t properly fall back to another decoder path and the stream remains black.

Would help: The exact codec string that Parsec is attempting to configure. You can obtain it by:

  • Opening DevTools
  • Going to Sources
  • Pretty-printing parsec.js
  • Searching for VideoDecoder.configure
  • Setting a breakpoint immediately before the configure call
  • Inspecting the configuration object passed to VideoDecoder

Something like:

{
codec: "avc1.640034",
codedWidth: ...,
codedHeight: ...
}

The value of codec is the key piece of information.

Although the WebCodecs “unsupported configuration” error points more toward a decoder capability mismatch than a Shields or extension issue.

The error:

Video decode error: OperationError: Unsupported configuration

… is generated by the WebCodecs API when VideoDecoder.configure() is called. H.264 support depends on the specific codec string (for example avc1.42E01E, avc1.4D401F, avc1.640034, etc.), not merely “H.264” in general.

Could you inspect the object being passed to VideoDecoder.configure() and post the value of the codec field? That would tell us exactly which H.264 profile/level Parsec is requesting and whether Brave is rejecting a configuration that Edge accepts.

And, do you get sound, despite “black screen?”

Sorry about the delay–I was having some internet issues and couldn’t get the problem earlier.

If I’m reading this correctly, the codec being passed to the video decoder is avc1.42001e. I haven’t noticed any audio being played, but I sometimes have my sound muted, so the audio could be okay, and I simply haven’t had it turned on.

@TaterTot

Be sure to update Brave Browser.


Again, using ChatGPT guidance …


Open DevTools Console and run:

VideoDecoder.isConfigSupported({codec: "avc1.42001e", codedWidth: 1280, codedHeight: 720}).then(console.log)

Console response you should get:

{config: {…}, supported: true}

If “true” then the investigation shifts to what Parsec is actually passing to VideoDecoder.configure(). The test only checked a minimal configuration. Parsec may be supplying additional fields such as:

{
codec: "avc1.42001e",
codedWidth: ...,
codedHeight: ...,
description: ...,
optimizeForLatency: ...,
hardwareAcceleration: ...
}

and one of those may be causing Brave to reject the configuration.


ChatGPT then, also suggests (more process of elimination) a fresh Brave Browser user profile. How I do that:


Create AN ADDITIONAL Brave Browser user Profile (Menu --> More tools --> Add profile); and, when creating:

  • Make no appearance adjustments other than to set user profile color at brave://settings/manageProfile.
  • Do not import anything.
  • Do not add any extensions.
  • Do not make any adjustments to content filtering at brave://settings/shields/filters.
  • Do not allow/enable any Brave Browser “bells and whistles” such as Brave Rewards, Brave Talk, etc.

After you create that new user profile, Exit / Quit everything and restart the computer … and then choose the new user profile for testing.


ChatGPT says why …


Even when Shields are disabled, a profile can contain things that affect media playback:

  • Extensions
  • Experimental flags (brave://flags)
  • Site-specific permissions/settings
  • Corrupted browser state (cached media settings, storage, preferences, etc.)
  • Enterprise policies (less common for home users)

If Parsec works in a fresh profile, then the issue is likely profile-specific rather than a general Brave bug.


Running VideoDecoder.isConfigSupported({codec: "avc1.42001e", codedWidth: 1280, codedHeight: 720}).then(console.log) in the console gives this result:

  1. {config: {…}, supported: true}

  2. config:

  3. codec: “avc1.42001e”

  4. codedHeight: 720

  5. codedWidth: 1280

  6. flip: false

  7. hardwareAcceleration: “no-preference”

  8. rotation: 0

  9. [[Prototype]]: Object

  10. constructor: ƒ Object()

  11. hasOwnProperty: ƒ hasOwnProperty()

  12. isPrototypeOf: ƒ isPrototypeOf()

  13. propertyIsEnumerable: ƒ propertyIsEnumerable()

  14. toLocaleString: ƒ toLocaleString()

  15. toString: ƒ toString()

  16. valueOf: ƒ valueOf()

  17. defineGetter: ƒ defineGetter()

  18. defineSetter: ƒ defineSetter()

  19. lookupGetter: ƒ lookupGetter()

  20. lookupSetter: ƒ lookupSetter()

  21. proto: (…)

  22. get proto: ƒ proto()

  23. set proto: ƒ proto()

  24. supported: true

  25. [[Prototype]]: Object

  26. constructor: ƒ Object()

  27. hasOwnProperty: ƒ hasOwnProperty()

  28. isPrototypeOf: ƒ isPrototypeOf()

  29. propertyIsEnumerable: ƒ propertyIsEnumerable()

  30. toLocaleString: ƒ toLocaleString()

  31. toString: ƒ toString()

  32. valueOf: ƒ valueOf()

  33. defineGetter: ƒ defineGetter()

  34. defineSetter: ƒ defineSetter()

  35. lookupGetter: ƒ lookupGetter()

  36. lookupSetter: ƒ lookupSetter()

  37. proto: (…)

  38. get proto: ƒ proto()

  39. set proto: ƒ proto()

I did try to use Parsec in a fresh profile, but it still wasn’t work. Brave is reporting that it is up to date.

Thank you!

@TaterTot

ChatGPT again:


The evidence now suggests one of these 4 scenarios:

  1. Parsec is using a different decoder configuration than the test, examples:
  • different resolution
  • different profile/level
  • different color space
  • different hardwareAcceleration setting
  • different coded dimensions
  1. Parsec’s WebCodecs initialization path is failing before configure() completes, because:
  • race condition
  • exception during setup
  • codec gets closed after creation
  1. Brave-specific behavior in WebRTC → WebCodecs handoff situation:
  • decoder configuration accepted in isolation
  • actual stream configuration rejected
  • resulting codec instance closes immediately
  1. GPU/video pipeline issue that is specific to Brave:
  • supported config check passes, but
  • actual decode session fails when frames arrive

The most useful next step would be to determine exactly what configuration Parsec is passing to VideoDecoder.configure() when it fails. The failure is probably not “Brave lacks support for H.264”. Instead, Parsec may be:

  • using a different decoder configuration than the one tested,
  • receiving a stream with different dimensions/profile parameters,
  • or hitting a Brave-specific issue when initializing the actual WebCodecs decode session.

Could you open DevTools → Sources, enable Pause on exceptions, reload Parsec, and capture the full exception stack for the Video decode error: OperationError: Unsupported configuration message?

Also, in brave://gpu, could you check whether Video Acceleration Information is present and post the entries shown there?

Since hardware video decode is involved, that section may reveal whether Brave is exposing a different decode path than Edge on the same machine.


Is this what you meant?

  1. Exception: InvalidStateError: Cannot call ‘decode’ on a closed codec. at RTCDataChannel. (https://web.parsec.app/lib/parsec.js:32:393)

  2. stack: “InvalidStateError: Cannot call ‘decode’ on a closed codec.\n at RTCDataChannel. (https://web.parsec.app/lib/parsec.js:32:393)”

  3. code: 11

  4. message: “Cannot call ‘decode’ on a closed codec.”

  5. name: “InvalidStateError”

The information from Video Acceleration Information:

Decoding :
Decode h264 baseline: 64x64 to 1920x1088 pixels
Decode h264 main : 64x64 to 1920x1088 pixels
Decode h264 high : 64x64 to 1920x1088 pixels
Encoding :

@TaterTot

Your first set of info, good to know:


  1. Exception: InvalidStateError: Cannot call ‘decode’ on a closed codec. at RTCDataChannel. (https://web.parsec.app/lib/parsec.js:32:393)
  2. stack: “InvalidStateError: Cannot call ‘decode’ on a closed codec.\n at RTCDataChannel. (https://web.parsec.app/lib/parsec.js:32:393)”
  3. code: 11
  4. message: “Cannot call ‘decode’ on a closed codec.”
  5. name: “InvalidStateError”

Video Acceleration Information - need what you have, if available:

Decoding

Decode h264 baseline:
Decode h264 main:
Decode h264 extended:
Decode h264 high:
Decode vp9 profileo:
Decode vp9 profile2:
Decode hevc main:
Decode hevc main 10:
Decode hevc main still-picture:
Decode hevc range extensions:

Encoding

Encode h264 baseline:
Encode h264 baseline:
Encode h264 main:
Encode h264 main:
Encode h264 high:
Encode h264 high:


If you would, result from another JavaScript:

navigator.mediaCapabilities.decodingInfo({
type: "webrtc",
video: {
contentType: 'video/mp4; codecs="avc1.42001e"',
width: 1920,
height: 1080,
bitrate: 8000000,
framerate: 60
}
}).then(console.log)


Parsec

What resolution is the Parsec host currently running at?

Does forcing the Parsec host to 1920×1080 change anything?

Does Parsec work if the host is temporarily set to 1920×1080?

Does Parsec work after disabling Use graphics acceleration when available in Brave and restarting the browser?


Your computter

What GPU is installed in your machine (Intel / AMD / NVIDIA model)?

Is your computer a desktop with one GPU, or a laptop/hybrid graphics system (Intel graphics + NVIDIA/AMD graphics)?

How many displays are connected, and what resolutions are they running?


I cannot find the decoding and encoding sections. Would these also be under brave://gpu?

The results of the JavaScript in the console:

  1. {powerEfficient: false, smooth: false, supported: false, keySystemAccess: null}

  2. keySystemAccess: null

  3. powerEfficient: false

  4. smooth: false

  5. supported: false

  6. [[Prototype]]: Object

  7. constructor: ƒ Object()

  8. hasOwnProperty: ƒ hasOwnProperty()

  9. isPrototypeOf: ƒ isPrototypeOf()

  10. propertyIsEnumerable: ƒ propertyIsEnumerable()

  11. toLocaleString: ƒ toLocaleString()

  12. toString: ƒ toString()

  13. valueOf: ƒ valueOf()

  14. defineGetter: ƒ defineGetter()

  15. defineSetter: ƒ defineSetter()

  16. lookupGetter: ƒ lookupGetter()

  17. lookupSetter: ƒ lookupSetter()

  18. proto: (…)

  19. get proto: ƒ proto()

  20. set proto: ƒ proto()

The Parsec host is currently running at 1920x1080. Changing the resolution does not make any difference. Disabling the “Use graphics acceleration when available” does not change anything, either.

Thank you!

@TaterTot

Tx for the results. Re what you cannot find … you did before (using brave://gpu) … but the list could be a bit more informative:

Thank you for clarifying! This is what I found under Decoding:

Decode h264 baseline: 64x64 to 1920x1088 pixels
Decode h264 main : 64x64 to 1920x1088 pixels
Decode h264 high : 64x64 to 1920x1088 pixels

There was no information available under Encoding.

Thanks again!

@TaterTot

ChatGPT response:


At this point, I would not focus on codec support itself anymore.

The key findings are:

  1. VideoDecoder.isConfigSupported({codec: "avc1.42001e", ...}) returns supported: true.
  2. Brave reports H.264 hardware decode support in brave://gpu.
  3. The same Parsec session works in Edge and Vivaldi.
  4. A fresh Brave profile produces the same failure.
  5. The exception you’re seeing under “Pause on exceptions” is not the original failure — it’s the downstream error:

Cannot call ‘decode’ on a closed codec.

That means the actual OperationError: Unsupported configuration occurred earlier, caused the decoder to close, and then Parsec later attempted to feed frames into the already-closed decoder.

What I find particularly interesting is this JavaScript entry:

navigator.mediaCapabilities.decodingInfo({type: "webrtc", video: { contentType: 'video/mp4; codecs="avc1.42001e"', width: 1920, height: 1080, bitrate: 8000000, framerate: 60}})

returning:

{supported: false, smooth: false, powerEfficient: false}

while JavaScript entry:

VideoDecoder.isConfigSupported({codec: "avc1.42001e", codedWidth: 1280, codedHeight: 720}).then(console.log)

returns:

24. supported: true

Those two results appear contradictory.

The difference is that VideoDecoder.isConfigSupported() only checks whether WebCodecs can theoretically create a decoder for that codec configuration.

MediaCapabilities.decodingInfo() is evaluating a higher-level playback capability. If Brave is reporting supported: false there, while Edge reports support, Parsec may be using MediaCapabilities (or related capability detection logic) and then attempting to configure WebCodecs with parameters Brave ultimately rejects.

The other clue is the GPU report. The affected machine shows only:

Decoding:
Decode h264 baseline: 64x64 to 1920x1088
Decode h264 main : 64x64 to 1920x1088
Decode h264 high : 64x64 to 1920x1088

and no encoding capabilities at all.

Meanwhile your [MY Brave Browser (Windows OS), Intel Iris 5100] system reports substantially richer capabilities, including H.264 encoding support.

For a pure Parsec client, missing encode support shouldn’t matter much, but the unusually sparse GPU capability report suggests Brave may be seeing a different graphics/media stack than Edge and Vivaldi are seeing on that [YOUR] machine.

My next suggestion would be to compare Brave and Edge directly from the same machine.

In both browsers, run JavaScript:

navigator.mediaCapabilities.decodingInfo({type: "webrtc", video: {contentType: 'video/mp4; codecs="avc1.42001e"', width: 1920, height: 1080, bitrate: 8000000, framerate: 60}}).then(console.log)

and report the results.

Also compare JavaScript entry: navigator.userAgent

and JavaScript entry: navigator.userAgentData?.brands

between Brave and Edge.

If Edge reports: supported: true

for the same navigator.mediaCapabilities.decodingInfo({type: "webrtc", video: {contentType: 'video/mp4; codecs="avc1.42001e"', width: 1920, height: 1080, bitrate: 8000000, framerate: 60}}).then(console.log) query

while Brave reports: supported: false

then we have a much stronger indication that the failure is occurring in Brave’s media capability negotiation rather than in Parsec’s stream itself.

Based on everything gathered so far, my working hypothesis is:

  • The H.264 decoder itself is present and functional (isConfigSupported() succeeds).
  • Parsec’s WebCodecs initialization path is receiving an unsupported capability result somewhere in Brave.
  • That causes the decoder configuration attempt to fail with OperationError: Unsupported configuration.
  • The subsequent Cannot call 'decode' on a closed codec exception is merely a consequence of the earlier failure.

That comparison may finally isolate whether this is a Brave media capability reporting bug, a GPU-driver-specific issue exposed only in Brave, or a Parsec browser-detection/workaround path that is being triggered only for Brave.

Results from Edge:

  1. {powerEfficient: false, smooth: false, supported: false, keySystemAccess: null}

  2. keySystemAccess: null

  3. powerEfficient: false

  4. smooth: false

  5. supported: false

  6. [[Prototype]]: Object

  7. constructor: ƒ Object()

  8. hasOwnProperty: ƒ hasOwnProperty()

  9. isPrototypeOf: ƒ isPrototypeOf()

  10. propertyIsEnumerable: ƒ propertyIsEnumerable()

  11. toLocaleString: ƒ toLocaleString()

  12. toString: ƒ toString()

  13. valueOf: ƒ valueOf()

  14. defineGetter: ƒ defineGetter()

  15. defineSetter: ƒ defineSetter()

  16. lookupGetter: ƒ lookupGetter()

  17. lookupSetter: ƒ lookupSetter()

  18. proto: (…)

  19. get proto: ƒ proto()

  20. set proto: ƒ proto()

‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0’

  1. (3) [{…}, {…}, {…}]

  2. 0: {brand: ‘Microsoft Edge’, version: ‘149’}

  3. 1: {brand: ‘Chromium’, version: ‘149’}

  4. 2: {brand: ‘Not)A;Brand’, version: ‘24’}

  5. length: 3

  6. [[Prototype]]: Array(0)

Results from Brave:

  1. {powerEfficient: false, smooth: false, supported: false, keySystemAccess: null}

  2. keySystemAccess: null

  3. powerEfficient: false

  4. smooth: false

  5. supported: false

  6. [[Prototype]]: Object

  7. constructor: ƒ Object()

  8. hasOwnProperty: ƒ hasOwnProperty()

  9. isPrototypeOf: ƒ isPrototypeOf()

  10. propertyIsEnumerable: ƒ propertyIsEnumerable()

  11. toLocaleString: ƒ toLocaleString()

  12. toString: ƒ toString()

  13. valueOf: ƒ valueOf()

  14. defineGetter: ƒ defineGetter()

  15. defineSetter: ƒ defineSetter()

  16. lookupGetter: ƒ lookupGetter()

  17. lookupSetter: ƒ lookupSetter()

  18. proto: (…)

  19. get proto: ƒ proto()

  20. set proto: ƒ proto()

‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36’

  1. (3) [{…}, {…}, {…}]

  2. 0: {brand: ‘Brave’, version: ‘149’}

  3. 1: {brand: ‘Chromium’, version: ‘149’}

  4. 2: {brand: ‘Not)A;Brand’, version: ‘24’}

  5. length: 3

  6. [[Prototype]]: Array(0)

  7. at: ƒ at()

  8. concat: ƒ concat()

  9. constructor: ƒ Array()

  10. copyWithin: ƒ copyWithin()

  11. entries: ƒ entries()

  12. every: ƒ every()

  13. fill: ƒ fill()

  14. filter: ƒ filter()

  15. find: ƒ find()

  16. findIndex: ƒ findIndex()

  17. findLast: ƒ findLast()

  18. findLastIndex: ƒ findLastIndex()

  19. flat: ƒ flat()

  20. flatMap: ƒ flatMap()

  21. forEach: ƒ forEach()

  22. includes: ƒ includes()

  23. indexOf: ƒ indexOf()

  24. join: ƒ join()

  25. keys: ƒ keys()

  26. lastIndexOf: ƒ lastIndexOf()

  27. length: 0

  28. map: ƒ map()

  29. pop: ƒ pop()

  30. push: ƒ push()

  31. reduce: ƒ reduce()

  32. reduceRight: ƒ reduceRight()

  33. reverse: ƒ reverse()

  34. shift: ƒ shift()

  35. slice: ƒ slice()

  36. some: ƒ some()

  37. sort: ƒ sort()

  38. splice: ƒ splice()

  39. toLocaleString: ƒ toLocaleString()

  40. toReversed: ƒ toReversed()

  41. toSorted: ƒ toSorted()

  42. toSpliced: ƒ toSpliced()

  43. toString: ƒ toString()

  44. unshift: ƒ unshift()

  45. values: ƒ values()

  46. with: ƒ with()

  47. Symbol(Symbol.iterator): ƒ values()

  48. Symbol(Symbol.unscopables): {at: true, copyWithin: true, entries: true, fill: true, find: true, …}

  49. [[Prototype]]: Object

Thank you!