RESOLVED FIXED 209542
Bump libwebrtc to M82
https://bugs.webkit.org/show_bug.cgi?id=209542
Summary Bump libwebrtc to M82
youenn fablet
Reported 2020-03-25 06:36:59 PDT
Update libwebrtc to M82
Attachments
patch (11.23 MB, patch)
2020-03-25 08:08 PDT, youenn fablet
no flags
patch (11.22 MB, patch)
2020-03-25 09:35 PDT, youenn fablet
no flags
patch (11.22 MB, patch)
2020-03-25 09:55 PDT, youenn fablet
no flags
patch (11.22 MB, patch)
2020-03-25 13:29 PDT, youenn fablet
no flags
Patch (11.21 MB, patch)
2020-03-26 08:30 PDT, youenn fablet
no flags
Patch (11.22 MB, patch)
2020-03-27 04:02 PDT, youenn fablet
no flags
fix-ios (11.22 MB, patch)
2020-03-27 05:03 PDT, youenn fablet
no flags
Patch (24.56 MB, patch)
2020-03-30 05:27 PDT, youenn fablet
no flags
Patch (24.56 MB, patch)
2020-03-30 07:29 PDT, youenn fablet
no flags
patch to make webkitgtk compile (60.23 KB, patch)
2020-03-31 12:13 PDT, Víctor M. Jáquez L.
no flags
Merged patch (24.62 MB, patch)
2020-04-01 01:39 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2020-03-25 08:08:12 PDT
youenn fablet
Comment 2 2020-03-25 09:35:51 PDT
youenn fablet
Comment 3 2020-03-25 09:55:49 PDT
youenn fablet
Comment 4 2020-03-25 13:29:43 PDT
Víctor M. Jáquez L.
Comment 5 2020-03-26 03:54:40 PDT
I'm looking at it for GTK
Víctor M. Jáquez L.
Comment 6 2020-03-26 07:34:11 PDT
it seems that the patch is no longer applicable after r259042 (it just fails on project.pbxproj)
youenn fablet
Comment 7 2020-03-26 08:01:48 PDT
(In reply to Víctor M. Jáquez L. from comment #6) > it seems that the patch is no longer applicable after r259042 (it just fails > on project.pbxproj) Right, I'll rebase it. Hopefully, most of the work on your side is related to CMake updates.
Víctor M. Jáquez L.
Comment 8 2020-03-26 08:27:36 PDT
It seems there are some removed files messing around commit cd2a92f8e0b64a05668c8b5a7ea2cffe64b02cf6 Author: Sebastian Jansson <srte@webrtc.org> Date: Thu Oct 31 13:53:53 2019 +0100 Removes RPLR based FEC controller.
youenn fablet
Comment 9 2020-03-26 08:30:31 PDT
youenn fablet
Comment 10 2020-03-26 09:09:55 PDT
I am reverting the changes
Víctor M. Jáquez L.
Comment 11 2020-03-26 09:32:29 PDT
I checked out M82 (branch 4044) and compared the trees with rsync -Cr --dry-run --itemize-changes --delete /home/vjaquez/src/webrtc-checkout/src/ Source/ThirdParty/libwebrtc/Source/webrtc/ --exclude=build --exclude=tools --exclude=buildtools --exclude=third_party --exclude=infra | grep deleting And there are a lot :S
youenn fablet
Comment 12 2020-03-27 03:06:22 PDT
(In reply to Víctor M. Jáquez L. from comment #11) > I checked out M82 (branch 4044) and compared the trees with > > rsync -Cr --dry-run --itemize-changes --delete > /home/vjaquez/src/webrtc-checkout/src/ > Source/ThirdParty/libwebrtc/Source/webrtc/ --exclude=build --exclude=tools > --exclude=buildtools --exclude=third_party --exclude=infra | grep deleting > > And there are a lot :S I am using libwebrtc commit 2dd3f3af62 which is the one for M82. M82 is cancelled though so maybe we should go forward with M83 instead. Let's refresh to this version for now.
youenn fablet
Comment 13 2020-03-27 03:12:55 PDT
> I am using libwebrtc commit 2dd3f3af62 Chrome tag 82.0.4085.17
youenn fablet
Comment 14 2020-03-27 04:02:02 PDT
youenn fablet
Comment 15 2020-03-27 05:03:22 PDT
Víctor M. Jáquez L.
Comment 16 2020-03-30 04:31:18 PDT
(In reply to youenn fablet from comment #12) > (In reply to Víctor M. Jáquez L. from comment #11) > > I checked out M82 (branch 4044) and compared the trees with > > > > rsync -Cr --dry-run --itemize-changes --delete > > /home/vjaquez/src/webrtc-checkout/src/ > > Source/ThirdParty/libwebrtc/Source/webrtc/ --exclude=build --exclude=tools > > --exclude=buildtools --exclude=third_party --exclude=infra | grep deleting > > > > And there are a lot :S > > I am using libwebrtc commit 2dd3f3af62 which is the one for M82. > M82 is cancelled though so maybe we should go forward with M83 instead. > Let's refresh to this version for now. Thanks. Now I'm there: * 2dd3f3af62 (HEAD -> M82, branch-heads/4085) [DirectX] Fix vector allocation for raw data handling. And I'm still seeing files in webkit that already were moved or removed in libwebrtc :( (so far I have found these commits in libwebrtc that removed code or moved it around: 03fbace4, 3ce44a35, 1d3008bf, 0e3198e4, 6787f232, 0bad15f2, 0824c6f6 and 01dd8850) Finally, I see in Source/ThirdParty/libwebrtc/ChangeLog that CMakeLists.txt has been modified, but I can find any modification in the patch. Is it missing?
youenn fablet
Comment 17 2020-03-30 05:27:25 PDT
youenn fablet
Comment 18 2020-03-30 05:47:28 PDT
> And I'm still seeing files in webkit that already were moved or removed in > libwebrtc :( (so far I have found these commits in libwebrtc that removed > code or moved it around: 03fbace4, 3ce44a35, 1d3008bf, 0e3198e4, 6787f232, > 0bad15f2, 0824c6f6 and 01dd8850) These are obsolete files I should have deleted. Done in above patch. > Finally, I see in Source/ThirdParty/libwebrtc/ChangeLog that CMakeLists.txt > has been modified, but I can find any modification in the patch. Is it > missing? I haven't done any modification to CMakeLists.txt but there will be a need to update it.
youenn fablet
Comment 19 2020-03-30 07:29:54 PDT
Víctor M. Jáquez L.
Comment 20 2020-03-31 12:13:21 PDT
Created attachment 395076 [details] patch to make webkitgtk compile
Víctor M. Jáquez L.
Comment 21 2020-03-31 12:17:40 PDT
youenn, I have modified CMakeLists.txt following what xcodeproj does and adding what was missing. Fixed a couple issue with the file. alphabetic order. I had to add missing headers in libwebrtc code (should I have to create a patch for Source/ThirdParty/libwebrtc/WebKit/?) And had to modify the the path of a couple includes in the source code.
youenn fablet
Comment 22 2020-04-01 00:40:20 PDT
Thanks, I will prepare the patch today! (In reply to Víctor M. Jáquez L. from comment #21) > youenn, > > I have modified CMakeLists.txt following what xcodeproj does and adding what > was missing. Fixed a couple issue with the file. alphabetic order. Right, I wish we would go to Sources.txt so that we would reduce the size of these changes. > I had to add missing headers in libwebrtc code (should I have to create a > patch for Source/ThirdParty/libwebrtc/WebKit/?) Interesting. I'll add some '#if defined(WEBRTC_WEBKIT_BUILD)' around them to keep track of them in the source code itself. It might be useful to upstream these changes to the libwebrtc repo itself. > And had to modify the the path of a couple includes in the source code. Sounds good.
youenn fablet
Comment 23 2020-04-01 01:39:40 PDT
Created attachment 395147 [details] Merged patch
EWS
Comment 24 2020-04-01 08:32:10 PDT
Committed r259345: <https://trac.webkit.org/changeset/259345> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395147 [details].
Radar WebKit Bug Importer
Comment 25 2020-04-01 08:34:12 PDT
Note You need to log in before you can comment on or make changes to this bug.