From: Haesu Gwon Date: Wed, 29 Mar 2023 08:14:41 +0000 (+0900) Subject: [WebRTC] Change Stats enum value and add new enum value (#5117) X-Git-Tag: submit/tizen/20230329.152025~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fa6bd57b5e01dbfb60dac1b05f41999fb287e63;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [WebRTC] Change Stats enum value and add new enum value (#5117) * [WebRTC] Change Stats enum value and add new value in WebRTCStatisticsCategory enum --- diff --git a/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCEnums.cs b/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCEnums.cs index 8402c8c1a..24796c35b 100755 --- a/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCEnums.cs +++ b/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCEnums.cs @@ -510,31 +510,28 @@ namespace Tizen.Multimedia.Remoting RemoteOutboundRtp = 0x0010, /// - /// All types of WebRTC statistics. + /// Candidate pair. /// - All = Codec | InboundRtp | OutboundRtp | RemoteInboundRtp | RemoteOutboundRtp - } - - [Flags] - internal enum WebRTCStatisticsPropertyCategory - { - Common = 0x00000100, - - Codec = 0x00000200, + /// 11 + CandidatePair = 0x0020, - RtpStream = 0x00000400, - - ReceivedRtpStream = 0x00000800, - - InboundRtpStream = 0x00001000, - - SentRtpStream = 0x00002000, - - OutboundRtpStream = 0x00004000, + /// + /// Local candidate. + /// + /// 11 + LocalCandidate = 0x0040, - RemoteInboundRtpStream = 0x00008000, + /// + /// Remote candidate. + /// + /// 11 + RemoteCandidate = 0x0080, - RemoteOutboundRtpStream = 0x00010000 + /// + /// All types of WebRTC statistics. + /// + [Obsolete("Deprecated since API11; Will be removed in API13.")] + All = Codec | InboundRtp | OutboundRtp | RemoteInboundRtp | RemoteOutboundRtp | CandidatePair | LocalCandidate | RemoteCandidate } /// @@ -546,137 +543,197 @@ namespace Tizen.Multimedia.Remoting /// /// Timestamp. /// - Timestamp = WebRTCStatisticsPropertyCategory.Common | 0x01, + Timestamp = 1, /// /// ID. /// - Id = WebRTCStatisticsPropertyCategory.Common | 0x02, + Id, /// /// Payload type. /// - PayloadType = WebRTCStatisticsPropertyCategory.Codec | 0x01, + PayloadType, /// /// Clock rate. /// - ClockRate = WebRTCStatisticsPropertyCategory.Codec | 0x02, + ClockRate, /// /// The number of channels. /// - Channels = WebRTCStatisticsPropertyCategory.Codec | 0x03, + Channels, /// /// MIME type. /// - MimeType = WebRTCStatisticsPropertyCategory.Codec | 0x04, + MimeType, /// /// Codec type. /// - CodecType = WebRTCStatisticsPropertyCategory.Codec | 0x05, + CodecType, /// /// SDP FMTP line. /// - SdpFmtpLine = WebRTCStatisticsPropertyCategory.Codec | 0x06, + SdpFmtpLine, /// /// SSRC. /// - Ssrc = WebRTCStatisticsPropertyCategory.RtpStream | 0x01, + Ssrc, /// /// Transport ID. /// - TransportId = WebRTCStatisticsPropertyCategory.RtpStream | 0x02, + TransportId, /// /// Codec ID. /// - CodecId = WebRTCStatisticsPropertyCategory.RtpStream | 0x03, + CodecId, /// /// Received packet. /// - PacketsReceived = WebRTCStatisticsPropertyCategory.ReceivedRtpStream | 0x01, + PacketsReceived, /// /// Lost packet. /// - PacketsLost = WebRTCStatisticsPropertyCategory.ReceivedRtpStream | 0x02, + PacketsLost, /// /// Discarted packet. /// - PacketsDiscarded = WebRTCStatisticsPropertyCategory.ReceivedRtpStream | 0x03, + PacketsDiscarded, /// /// Jitter. /// - Jitter = WebRTCStatisticsPropertyCategory.ReceivedRtpStream | 0x05, + Jitter, /// /// Received bytes. /// - BytesReceived = WebRTCStatisticsPropertyCategory.InboundRtpStream | 0x01, + BytesReceived, /// /// Duplicated packet. /// - PacketsDuplicated = WebRTCStatisticsPropertyCategory.InboundRtpStream | 0x02, + PacketsDuplicated, /// /// Sent bytes. /// - BytesSent = WebRTCStatisticsPropertyCategory.SentRtpStream | 0x01, + BytesSent, /// /// Sent packets. /// - PacketsSent = WebRTCStatisticsPropertyCategory.SentRtpStream | 0x02, + PacketsSent, /// /// Remote ID. /// - RemoteId = WebRTCStatisticsPropertyCategory.InboundRtpStream | WebRTCStatisticsPropertyCategory.OutboundRtpStream | 0x01, + RemoteId, /// /// FIR count. /// - FirCount = WebRTCStatisticsPropertyCategory.InboundRtpStream | WebRTCStatisticsPropertyCategory.OutboundRtpStream | 0x02, + FirCount, /// /// PLI count. /// - PliCount = WebRTCStatisticsPropertyCategory.InboundRtpStream | WebRTCStatisticsPropertyCategory.OutboundRtpStream | 0x03, + PliCount, /// /// NACK count. /// - NackCount = WebRTCStatisticsPropertyCategory.InboundRtpStream | WebRTCStatisticsPropertyCategory.OutboundRtpStream | 0x04, + NackCount, /// /// Round trip time. /// - RoundTripTime = WebRTCStatisticsPropertyCategory.RemoteInboundRtpStream | 0x01, + RoundTripTime, /// /// Lost fraction. /// - FractionLost = WebRTCStatisticsPropertyCategory.RemoteInboundRtpStream | 0x02, + FractionLost, /// /// Remote timestamp. /// - RemoteTimestamp = WebRTCStatisticsPropertyCategory.OutboundRtpStream | 0x01, + RemoteTimestamp, /// /// Local ID. /// - LocalId = WebRTCStatisticsPropertyCategory.RemoteInboundRtpStream | WebRTCStatisticsPropertyCategory.RemoteOutboundRtpStream | 0x01 + LocalId, + + /// + /// Kind. + /// + /// 11 + Kind, + + /// + /// Address of the candidate. + /// + /// 11 + Address, + + /// + /// Port number of the candidate. + /// + /// 11 + Port, + + /// + /// Candidate type. + /// + /// 11 + CandidateType, + + /// + /// Priority. + /// + /// 11 + Priority, + + /// + /// Protocol(UDP or TCP). + /// + /// 11 + Protocol, + + /// + /// Relay protocol. + /// + /// 11 + RelayProtocol, + + /// + /// URL. + /// + /// 11 + Url, + + /// + /// Local candidate ID associated with the candidate pair. + /// + /// 11 + LocalCandidateId, + + /// + /// Remote candidate ID associated with the candidate pair. + /// + /// 11 + RemoteCandidateId } internal enum WebRTCStatsPropertyType