[webkit-changes] [WebKit/WebKit] d7759d: Add libwebrtc specific WebCore RTCStat object cons...
youennf
noreply at github.com
Wed Jun 5 01:42:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d7759dc9cbb90b3fda92a54521c132c18cc5a0df
https://github.com/WebKit/WebKit/commit/d7759dc9cbb90b3fda92a54521c132c18cc5a0df
Author: Youenn Fablet <youenn at apple.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M Source/WebCore/Modules/mediastream/RTCStatsReport.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp
Log Message:
-----------
Add libwebrtc specific WebCore RTCStat object constructors
rdar://129205417
https://bugs.webkit.org/show_bug.cgi?id=275096
Reviewed by Jean-Yves Avenard.
Refactoring to do more initialization in constructors.
This makes it easier to initialize all values and will help code analysis.
* Source/WebCore/Modules/mediastream/RTCStatsReport.h:
(WebCore::RTCStatsReport::InboundRtpStreamStats::InboundRtpStreamStats): Deleted.
(WebCore::RTCStatsReport::RemoteInboundRtpStreamStats::RemoteInboundRtpStreamStats): Deleted.
(WebCore::RTCStatsReport::OutboundRtpStreamStats::OutboundRtpStreamStats): Deleted.
(WebCore::RTCStatsReport::RemoteOutboundRtpStreamStats::RemoteOutboundRtpStreamStats): Deleted.
(WebCore::RTCStatsReport::DataChannelStats::DataChannelStats): Deleted.
(WebCore::RTCStatsReport::IceCandidatePairStats::IceCandidatePairStats): Deleted.
(WebCore::RTCStatsReport::CertificateStats::CertificateStats): Deleted.
(WebCore::RTCStatsReport::CodecStats::CodecStats): Deleted.
(WebCore::RTCStatsReport::TransportStats::TransportStats): Deleted.
(WebCore::RTCStatsReport::AudioPlayoutStats::AudioPlayoutStats): Deleted.
(WebCore::RTCStatsReport::PeerConnectionStats::PeerConnectionStats): Deleted.
(WebCore::RTCStatsReport::AudioSourceStats::AudioSourceStats): Deleted.
(WebCore::RTCStatsReport::VideoSourceStats::VideoSourceStats): Deleted.
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp:
(WebCore::RTCStatsReport::Stats::Stats):
(WebCore::RTCStatsReport::RtpStreamStats::RtpStreamStats):
(WebCore::RTCStatsReport::ReceivedRtpStreamStats::ReceivedRtpStreamStats):
(WebCore::RTCStatsReport::InboundRtpStreamStats::InboundRtpStreamStats):
(WebCore::RTCStatsReport::RemoteInboundRtpStreamStats::RemoteInboundRtpStreamStats):
(WebCore::RTCStatsReport::SentRtpStreamStats::SentRtpStreamStats):
(WebCore::convertQualityLimitationReason):
(WebCore::RTCStatsReport::OutboundRtpStreamStats::OutboundRtpStreamStats):
(WebCore::RTCStatsReport::RemoteOutboundRtpStreamStats::RemoteOutboundRtpStreamStats):
(WebCore::RTCStatsReport::DataChannelStats::DataChannelStats):
(WebCore::RTCStatsReport::IceCandidatePairStats::IceCandidatePairStats):
(WebCore::RTCStatsReport::IceCandidateStats::IceCandidateStats):
(WebCore::RTCStatsReport::CertificateStats::CertificateStats):
(WebCore::RTCStatsReport::CodecStats::CodecStats):
(WebCore::convertIceRole):
(WebCore::convertDtlsRole):
(WebCore::RTCStatsReport::TransportStats::TransportStats):
(WebCore::RTCStatsReport::PeerConnectionStats::PeerConnectionStats):
(WebCore::RTCStatsReport::MediaSourceStats::MediaSourceStats):
(WebCore::RTCStatsReport::AudioSourceStats::AudioSourceStats):
(WebCore::RTCStatsReport::AudioPlayoutStats::AudioPlayoutStats):
(WebCore::RTCStatsReport::VideoSourceStats::VideoSourceStats):
(WebCore::addToStatsMap):
(WebCore::initializeRTCStatsReportBackingMap):
(WebCore::fillRTCStats): Deleted.
(WebCore::fillRtpStreamStats): Deleted.
(WebCore::fillReceivedRtpStreamStats): Deleted.
(WebCore::fillInboundRtpStreamStats): Deleted.
(WebCore::fillRemoteInboundRtpStreamStats): Deleted.
(WebCore::fillSentRtpStreamStats): Deleted.
(WebCore::qualityLimitationReason): Deleted.
(WebCore::fillOutboundRtpStreamStats): Deleted.
(WebCore::fillRemoteOutboundRtpStreamStats): Deleted.
(WebCore::fillRTCDataChannelStats): Deleted.
(WebCore::fillRTCIceCandidatePairStats): Deleted.
(WebCore::fillRTCIceCandidateStats): Deleted.
(WebCore::fillRTCCertificateStats): Deleted.
(WebCore::fillRTCCodecStats): Deleted.
(WebCore::iceRole): Deleted.
(WebCore::dtlsRole): Deleted.
(WebCore::fillRTCTransportStats): Deleted.
(WebCore::fillRTCPeerConnectionStats): Deleted.
(WebCore::fillRTCMediaSourceStats): Deleted.
(WebCore::fillRTCAudioSourceStats): Deleted.
(WebCore::fillRTCAudioPlayoutStats): Deleted.
(WebCore::fillRTCVideoSourceStats): Deleted.
Canonical link: https://commits.webkit.org/279731@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list