WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
222982
Update RTCRtpScriptTransform to the latest version of the spec
https://bugs.webkit.org/show_bug.cgi?id=222982
Summary
Update RTCRtpScriptTransform to the latest version of the spec
youenn fablet
Reported
2021-03-09 09:20:11 PST
Update RTCRtpScriptTransform to the latest version of the spec
Attachments
Patch
(65.84 KB, patch)
2021-03-09 09:32 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(72.64 KB, patch)
2021-03-10 05:32 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch for landing
(73.75 KB, patch)
2021-03-12 06:43 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Win fix try
(74.59 KB, patch)
2021-03-12 08:09 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(76.64 KB, patch)
2021-03-12 13:48 PST
,
Fujii Hironori
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2021-03-09 09:32:51 PST
Created
attachment 422716
[details]
Patch
youenn fablet
Comment 2
2021-03-10 05:32:14 PST
Created
attachment 422821
[details]
Patch
youenn fablet
Comment 3
2021-03-10 10:06:48 PST
Comment on
attachment 422821
[details]
Patch Wincairo might be a unified build issue
Eric Carlson
Comment 4
2021-03-11 08:59:35 PST
Comment on
attachment 422821
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=422821&action=review
> Source/WebCore/ChangeLog:10 > + Add support for options parameter provided in RTCRtpScriptTrtansform constructor.
s/RTCRtpScriptTrtansform/RTCRtpScriptTransform/
> Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:55 > + auto transformer = adoptRef(*new RTCRtpScriptTransformer(context, WTFMove(options), WTFMove(port), readable.releaseReturnValue(), WTFMove(readableSource)));
Is there any reason to not have the constructor get the SimpleReadableStreamSource from the ReadableStream?
> Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:104 > + return writable;
I thought this was wrong at first because of the variable name, something like `writableOrException` might make it clearer.
youenn fablet
Comment 5
2021-03-12 02:19:39 PST
(In reply to Eric Carlson from
comment #4
)
> Comment on
attachment 422821
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=422821&action=review
> > > Source/WebCore/ChangeLog:10 > > + Add support for options parameter provided in RTCRtpScriptTrtansform constructor. > > s/RTCRtpScriptTrtansform/RTCRtpScriptTransform/
OK
> > Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:55 > > + auto transformer = adoptRef(*new RTCRtpScriptTransformer(context, WTFMove(options), WTFMove(port), readable.releaseReturnValue(), WTFMove(readableSource))); > > Is there any reason to not have the constructor get the > SimpleReadableStreamSource from the ReadableStream?
ReadableStream can take any ReadableStreamSource but we want to keep the fact it is a SimpleReadableStreamSource.
> > Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:104 > > + return writable; > > I thought this was wrong at first because of the variable name, something > like `writableOrException` might make it clearer.
OK
youenn fablet
Comment 6
2021-03-12 06:43:13 PST
Created
attachment 423043
[details]
Patch for landing
youenn fablet
Comment 7
2021-03-12 08:09:22 PST
Created
attachment 423052
[details]
Win fix try
youenn fablet
Comment 8
2021-03-12 09:55:38 PST
Don, Hironori-san, can you help me with wincairo failure? Might be a unified build issue.
Fujii Hironori
Comment 9
2021-03-12 12:19:43 PST
Thank you for letting me know that. It looks a simple problem. Will check.
Fujii Hironori
Comment 10
2021-03-12 13:48:13 PST
Created
attachment 423080
[details]
Patch
Fujii Hironori
Comment 11
2021-03-12 13:55:34 PST
It turned out this isn't a simple problem. I'll look into into it again next week. I added some header inclusions to WebGLRenderingContextBase.h, and fixed recursive inclusion of WebGLTransformFeedback.h. This patch can compile for WinCairo. Hmm, but, it can't compile for other ports.
EWS
Comment 12
2021-03-13 02:29:01 PST
commit-queue failed to commit
attachment 423052
[details]
to WebKit repository. To retry, please set cq+ flag again.
EWS
Comment 13
2021-03-13 02:51:18 PST
commit-queue failed to commit
attachment 423052
[details]
to WebKit repository. To retry, please set cq+ flag again.
EWS
Comment 14
2021-03-13 03:11:32 PST
Committed
r274385
: <
https://commits.webkit.org/r274385
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 423052
[details]
.
Radar WebKit Bug Importer
Comment 15
2021-03-13 03:12:16 PST
<
rdar://problem/75392479
>
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