WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
228947
Implement SFrameTransform error handling
https://bugs.webkit.org/show_bug.cgi?id=228947
Summary
Implement SFrameTransform error handling
youenn fablet
Reported
2021-08-10 02:53:44 PDT
Implement SFrameTransform error handling
Attachments
Patch
(48.16 KB, patch)
2021-08-10 06:46 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(53.34 KB, patch)
2021-08-10 08:53 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2021-08-10 06:46:04 PDT
Created
attachment 435253
[details]
Patch
youenn fablet
Comment 2
2021-08-10 08:53:59 PDT
Created
attachment 435262
[details]
Patch
youenn fablet
Comment 3
2021-08-11 07:02:40 PDT
Comment on
attachment 435262
[details]
Patch bot error is unrelated
Eric Carlson
Comment 4
2021-08-11 10:11:45 PDT
Comment on
attachment 435262
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=435262&action=review
> Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp:118 > +static std::optional<Vector<uint8_t>> processFrame(const uint8_t* data, size_t size, RTCRtpSFrameTransformer& transformer, ScriptExecutionContextIdentifier identifier, const WeakPtr<RTCRtpSFrameTransform>& weakTransform)
It might be worth using Span here and the other places you pass around { uint8_t*, size_t } in these classes.
youenn fablet
Comment 5
2021-08-12 02:14:57 PDT
(In reply to Eric Carlson from
comment #4
)
> Comment on
attachment 435262
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=435262&action=review
> > > Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp:118 > > +static std::optional<Vector<uint8_t>> processFrame(const uint8_t* data, size_t size, RTCRtpSFrameTransformer& transformer, ScriptExecutionContextIdentifier identifier, const WeakPtr<RTCRtpSFrameTransform>& weakTransform) > > It might be worth using Span here and the other places you pass around { > uint8_t*, size_t } in these classes.
Good idea, I'll do the refactoring in a follow-up as this entails changes to transformer and frame classes.
EWS
Comment 6
2021-08-12 02:37:14 PDT
Committed
r280958
(
240464@main
): <
https://commits.webkit.org/240464@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 435262
[details]
.
Radar WebKit Bug Importer
Comment 7
2021-08-12 02:38:17 PDT
<
rdar://problem/81837525
>
youenn fablet
Comment 8
2021-08-12 02:46:32 PDT
> Good idea, I'll do the refactoring in a follow-up as this entails changes to > transformer and frame classes.
https://bugs.webkit.org/show_bug.cgi?id=229029
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug