WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
191192
Add support for sender/receiver getCapabilities
https://bugs.webkit.org/show_bug.cgi?id=191192
Summary
Add support for sender/receiver getCapabilities
youenn fablet
Reported
2018-11-02 06:53:35 PDT
Add support for sender/receiver getCapabilities
Attachments
Patch
(28.51 KB, patch)
2018-11-02 06:58 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(32.42 KB, patch)
2018-11-03 19:05 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch for landing
(35.37 KB, patch)
2018-11-06 18:52 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2018-11-02 06:58:46 PDT
Created
attachment 353694
[details]
Patch
Eric Carlson
Comment 2
2018-11-02 10:04:16 PDT
Comment on
attachment 353694
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=353694&action=review
> Source/WebCore/ChangeLog:9 > + Add corresponding IDL and plumbery down to libwebrtc peer connection factory.
Nit: s/plumbery/plumbing/
> Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:64 > + return { };
Nit: ASSERT_NOT_REACHED?
> Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:69 > + return { };
Ditto.
> Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:302 > + return static_cast<uint32_t>(*numChannels);
safeCast<uint32_t>?
> Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:311 > + capabilities.codecs.uncheckedAppend(RTCRtpCapabilities::CodecCapability { fromStdString(codec.mime_type()), static_cast<uint32_t>(codec.clock_rate ? *codec.clock_rate : 0), toChannels(codec.num_channels), { } });
Ditto.
youenn fablet
Comment 3
2018-11-03 19:05:49 PDT
Created
attachment 353789
[details]
Patch
Eric Carlson
Comment 4
2018-11-04 06:20:18 PST
Comment on
attachment 353789
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=353789&action=review
> Source/WebCore/ChangeLog:9 > + Add corresponding IDL and plumbery down to libwebrtc peer connection factory.
Nit: s/plumbery/plumbing/
> Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:64 > + return { };
Nit: ASSERT_NOT_REACHED()?
> Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp:69 > + return { };
Ditto.
> Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:302 > + return static_cast<uint32_t>(*numChannels);
Nit: safeCast<uint32_t>?
> Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:310 > + for (auto& codec : rtpCapabilities.codecs)
Ditto.
youenn fablet
Comment 5
2018-11-06 18:52:44 PST
Created
attachment 354044
[details]
Patch for landing
WebKit Commit Bot
Comment 6
2018-11-06 20:01:58 PST
Comment on
attachment 354044
[details]
Patch for landing Clearing flags on attachment: 354044 Committed
r237911
: <
https://trac.webkit.org/changeset/237911
>
WebKit Commit Bot
Comment 7
2018-11-06 20:02:00 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2018-11-06 20:03:29 PST
<
rdar://problem/45864599
>
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