@TaterTot
ChatGPT response:
At this point, I would not focus on codec support itself anymore.
The key findings are:
VideoDecoder.isConfigSupported({codec: "avc1.42001e", ...}) returns supported: true.
- Brave reports H.264 hardware decode support in
brave://gpu.
- The same Parsec session works in Edge and Vivaldi.
- A fresh Brave profile produces the same failure.
- 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.