Closed snosenzo closed 5 days ago
We probably can't attach more in the generated error, but usually the media dev tools for each browser will have more information. In chrome you can find them either in the Dev Tools panel or under chrome://media-internals.
Thought so, thanks for your response!
As far as I can see the DOMException passed to the
error
callback on theVideoDecoder
constructor for failing to decode a frame only provideserror.name = "EncodingError"
anderror.message = "DecodingError"
. This leaves a lot to be desired in terms of trying to debug the data being decoded. I understand that it's hard to give more info due to fingerprinting (as discussed here: #643), but I was wondering if it would be possible to reference the frame that caused the error somehow? Decoding is asynchronous and can build up an internal queue of frames before processing (as far as I can tell, given lack of 1-in 1-out support), it's not possible to know which of theEncodedVideoChunk
s was responsible for causing that error. It would be great if a part (like the timestamp) or the wholeEncodedVideoChunk
could attached to the error in some way in order to determine the problematic frame.If this still is at risk of fingerprinting, then no worries and feel free to close the issue.