WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201302
Abstract out LibWebRTCSocketClient so that rtc sockets can be implemented without libwebrtc sockets
https://bugs.webkit.org/show_bug.cgi?id=201302
Summary
Abstract out LibWebRTCSocketClient so that rtc sockets can be implemented wit...
youenn fablet
Reported
2019-08-29 06:58:10 PDT
Abstract out LibWebRTCSocketClient so that rtc sockets can be implemented without libwebrtc sockets
Attachments
Patch
(16.47 KB, patch)
2019-08-29 07:02 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(14.27 KB, patch)
2019-08-29 08:18 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(14.25 KB, patch)
2019-09-01 13:11 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2019-08-29 07:02:04 PDT
Created
attachment 377579
[details]
Patch
youenn fablet
Comment 2
2019-08-29 08:18:32 PDT
Created
attachment 377585
[details]
Patch
Alex Christensen
Comment 3
2019-08-30 13:44:10 PDT
Comment on
attachment 377585
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=377585&action=review
> Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp:166 > +std::unique_ptr<NetworkRTCProvider::Socket> NetworkRTCProvider::takeSocket(uint64_t identifier)
A trailing return type here would remove the need for an extra NetworkRTCProvider::
> Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.h:74 > + enum class Type { UDP, ServerTCP, ClientTCP, ServerConnectionTCP };
What's the difference between "ServerTCP" and "ServerConnectionTCP"? Should "ServerTCP" be "ServerListeningTCP"? Also, these can all fit in a uint8_t.
youenn fablet
Comment 4
2019-09-01 13:11:42 PDT
Created
attachment 377828
[details]
Patch
youenn fablet
Comment 5
2019-09-01 13:14:52 PDT
(In reply to Alex Christensen from
comment #3
)
> Comment on
attachment 377585
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=377585&action=review
> > > Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp:166 > > +std::unique_ptr<NetworkRTCProvider::Socket> NetworkRTCProvider::takeSocket(uint64_t identifier) > > A trailing return type here would remove the need for an extra > NetworkRTCProvider::
In that case I do not really mind the extra NetworkRTCProvider prefix.
> > > Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.h:74 > > + enum class Type { UDP, ServerTCP, ClientTCP, ServerConnectionTCP }; > > What's the difference between "ServerTCP" and "ServerConnectionTCP"? Should > "ServerTCP" be "ServerListeningTCP"?
Right, the server TCP is listening and the ServerConnectionTCP is the connection created by a TCP client. This matches more or less libwebrtc names.
> Also, these can all fit in a uint8_t.
OK
WebKit Commit Bot
Comment 6
2019-09-01 23:20:25 PDT
Comment on
attachment 377828
[details]
Patch Clearing flags on attachment: 377828 Committed
r249376
: <
https://trac.webkit.org/changeset/249376
>
WebKit Commit Bot
Comment 7
2019-09-01 23:20:26 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-09-01 23:21:16 PDT
<
rdar://problem/54941595
>
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