RESOLVED FIXED216006
Introduce a C++ chain of operations in RTCPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=216006
Summary Introduce a C++ chain of operations in RTCPeerConnection
youenn fablet
Reported 2020-08-31 08:46:08 PDT
Introduce a C++ chain of operations in RTCPeerConnection
Attachments
Patch (141.32 KB, patch)
2020-08-31 09:01 PDT, youenn fablet
no flags
Patch (141.36 KB, patch)
2020-08-31 09:24 PDT, youenn fablet
no flags
Patch (150.07 KB, patch)
2020-08-31 11:00 PDT, youenn fablet
no flags
Patch for landing (149.41 KB, patch)
2020-09-02 02:26 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2020-08-31 09:01:41 PDT
youenn fablet
Comment 2 2020-08-31 09:24:48 PDT
youenn fablet
Comment 3 2020-08-31 11:00:29 PDT
Eric Carlson
Comment 4 2020-09-01 11:17:11 PDT
Comment on attachment 407612 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407612&action=review > LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-offer-expected.txt:2 > -Harness Error (FAIL), message = Unhandled rejection: Description type incompatible with current signaling state > +Harness Error (TIMEOUT), message = null Why do we timeout now? > LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt:32 > +FAIL checkStopAfterCreateOffer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]" > +FAIL checkStopAfterSetLocalOffer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]" > +FAIL checkStopAfterSetRemoteOffer assert_equals: expected "[]" but got "[{isTrusted:true}]" > +FAIL checkStopAfterCreateAnswer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]" Looks like this only fails because we return `0` instead of `null`. Can we fix this? > LayoutTests/platform/mac/webrtc/captureCanvas-webrtc-software-encoder-expected.txt:4 > -PASS captureStream with webrtc - h264 baseline > -PASS captureStream with webrtc - h264 high profile > +FAIL captureStream with webrtc - h264 baseline promise_test: Unhandled rejection with value: "test2 failed" > +FAIL captureStream with webrtc - h264 high profile promise_test: Unhandled rejection with value: "test2 failed" Is this expected?
youenn fablet
Comment 5 2020-09-02 02:25:48 PDT
(In reply to Eric Carlson from comment #4) > Comment on attachment 407612 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=407612&action=review > > > LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-offer-expected.txt:2 > > -Harness Error (FAIL), message = Unhandled rejection: Description type incompatible with current signaling state > > +Harness Error (TIMEOUT), message = null > > Why do we timeout now? We were already timing out but we are no longer hitting a rejected promise before the timeout. > > > LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt:32 > > +FAIL checkStopAfterCreateOffer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]" > > +FAIL checkStopAfterSetLocalOffer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]" > > +FAIL checkStopAfterSetRemoteOffer assert_equals: expected "[]" but got "[{isTrusted:true}]" > > +FAIL checkStopAfterCreateAnswer assert_equals: expected "[{mid:null,stopped:true}]" but got "[{mid:\"0\",stopped:true}]" > > Looks like this only fails because we return `0` instead of `null`. Can we > fix this? Yep, will do in a follow-up. > > LayoutTests/platform/mac/webrtc/captureCanvas-webrtc-software-encoder-expected.txt:4 > > -PASS captureStream with webrtc - h264 baseline > > -PASS captureStream with webrtc - h264 high profile > > +FAIL captureStream with webrtc - h264 baseline promise_test: Unhandled rejection with value: "test2 failed" > > +FAIL captureStream with webrtc - h264 high profile promise_test: Unhandled rejection with value: "test2 failed" > > Is this expected? I will remove this change, this should have been uploaded.
youenn fablet
Comment 6 2020-09-02 02:26:34 PDT
Created attachment 407753 [details] Patch for landing
EWS
Comment 7 2020-09-02 09:19:57 PDT
Committed r266468: <https://trac.webkit.org/changeset/266468> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407753 [details].
Radar WebKit Bug Importer
Comment 8 2020-09-02 09:20:18 PDT
Note You need to log in before you can comment on or make changes to this bug.