4 #ifndef OWT_BASE_CONNECTIONSTATS_H_ 5 #define OWT_BASE_CONNECTIONSTATS_H_ 10 #include "owt/base/commontypes.h" 11 #include "owt/base/network.h" 149 const std::string&
ip,
177 const std::string&
id,
194 typedef std::unique_ptr<AudioSenderReport> AudioSenderReportPtr;
195 typedef std::vector<AudioSenderReportPtr> AudioSenderReports;
196 typedef std::unique_ptr<AudioReceiverReport> AudioReceiverReportPtr;
197 typedef std::vector<AudioReceiverReportPtr> AudioReceiverReports;
198 typedef std::unique_ptr<VideoSenderReport> VideoSenderReportPtr;
199 typedef std::vector<VideoSenderReportPtr> VideoSenderReports;
200 typedef std::unique_ptr<VideoReceiverReport> VideoReceiverReportPtr;
201 typedef std::vector<VideoReceiverReportPtr> VideoReceiverReports;
202 typedef std::shared_ptr<IceCandidateReport> IceCandidateReportPtr;
203 typedef std::vector<IceCandidateReportPtr> IceCandidateReports;
204 typedef std::shared_ptr<IceCandidatePairReport> IceCandidatePairPtr;
205 typedef std::vector<IceCandidatePairPtr> IceCandidatePairReports;
210 std::chrono::system_clock::time_point
time_stamp = std::chrono::system_clock::now();
230 #endif // OWT_BASE_CONNECTIONSTATS_H_ IceCandidatePairReports ice_candidate_pair_reports
ICE candidate pair reports.
Definition: connectionstats.h:226
IceCandidateType candidate_type
Candidate type.
Definition: connectionstats.h:170
int32_t estimated_delay
Audio delay estimated with unit of millisecond.
Definition: connectionstats.h:44
IceCandidateReports remote_ice_candidate_reports
Remote ICE candidate reports.
Definition: connectionstats.h:224
int32_t target_encoding_bitrate
Target encoding bitrate, unit: bps.
Definition: connectionstats.h:142
Connection statistoms.
Definition: connectionstats.h:207
Define ICE candidate pair report.
Definition: connectionstats.h:175
int32_t actual_encoding_bitrate
Actual encoding bitrate, unit: bps.
Definition: connectionstats.h:144
int32_t delay
Current video delay with unit of millisecond.
Definition: connectionstats.h:122
TransportProtocolType protocol
Transport protocol.
Definition: connectionstats.h:168
int32_t packets_rcvd
Audio packets received.
Definition: connectionstats.h:40
int64_t bytes_rcvd
Audio bytes received.
Definition: connectionstats.h:38
AdaptReason
Define adapt reason.
Definition: connectionstats.h:59
std::shared_ptr< IceCandidateReport > local_ice_candidate
Local candidate of this pair.
Definition: connectionstats.h:190
std::shared_ptr< IceCandidateReport > remote_ice_candidate
Remote candidate of this pair.
Definition: connectionstats.h:192
Resolution frame_resolution_sent
Video frame resolution sent.
Definition: connectionstats.h:81
int32_t packets_lost
Video packets lost during sending.
Definition: connectionstats.h:73
Define ICE candidate report.
Definition: connectionstats.h:147
int32_t jitter
Packet Jitter measured in milliseconds.
Definition: connectionstats.h:126
Define video receiver report.
Definition: connectionstats.h:94
int32_t framerate_output
Video framerate output.
Definition: connectionstats.h:120
int32_t packets_sent
Audio packets sent.
Definition: connectionstats.h:23
int64_t bytes_sent
Audio bytes sent.
Definition: connectionstats.h:21
IceCandidateReports local_ice_candidate_reports
Local ICE candidate reports.
Definition: connectionstats.h:222
std::string codec_name
Audio codec name for sending.
Definition: connectionstats.h:29
std::string ip
The IP address of the candidate.
Definition: connectionstats.h:164
Define video sender report.
Definition: connectionstats.h:49
int64_t bytes_rcvd
Video bytes received.
Definition: connectionstats.h:104
Definition: audioplayerinterface.h:8
int32_t pli_count
Number of PLI sent.
Definition: connectionstats.h:112
int32_t pli_count
Number of PLI received.
Definition: connectionstats.h:77
std::chrono::system_clock::time_point time_stamp
Time stamp of connection statistowt generation.
Definition: connectionstats.h:210
VideoBandwidthStats video_bandwidth_stats
Video bandwidth statistoms.
Definition: connectionstats.h:212
VideoReceiverReports video_receiver_reports
Video receiver reports.
Definition: connectionstats.h:220
int32_t adapt_changes
Video adapt changes.
Definition: connectionstats.h:87
Define audio receiver report.
Definition: connectionstats.h:32
int32_t nack_count
Number of NACK received.
Definition: connectionstats.h:79
int32_t packets_lost
Audio packets lost during sending.
Definition: connectionstats.h:25
int64_t round_trip_time
RTT for video sending with unit of millisecond.
Definition: connectionstats.h:89
VideoSenderReports video_sender_reports
Video sender reports.
Definition: connectionstats.h:218
int32_t fir_count
Number of FIR sent.
Definition: connectionstats.h:110
AudioSenderReports audio_sender_reports
Audio sender reports.
Definition: connectionstats.h:214
std::string codec_name
Audio codec name for receiving.
Definition: connectionstats.h:46
int32_t priority
Calculated as defined in RFC5245.
Definition: connectionstats.h:172
int32_t packets_rcvd
Video packets received.
Definition: connectionstats.h:106
int32_t last_adapt_reason
Video adapt reason.
Definition: connectionstats.h:85
int32_t packets_lost
Video packets lost during receiving.
Definition: connectionstats.h:108
int32_t framerate_sent
Video framerate sent.
Definition: connectionstats.h:83
Resolution frame_resolution_rcvd
Video frame resolution received.
Definition: connectionstats.h:116
uint16_t port
The port number of the candidate.
Definition: connectionstats.h:166
Adapt for CPU limitation.
Adapt for bandwidth limitation.
std::string id
The ID of this report.
Definition: connectionstats.h:162
int64_t bytes_sent
Video bytes sent.
Definition: connectionstats.h:69
int32_t transmit_bitrate
Video bitrate of transmit, unit: bps.
Definition: connectionstats.h:138
This class represents a resolution value.
Definition: commontypes.h:40
int32_t framerate_rcvd
Video framerate received.
Definition: connectionstats.h:118
std::string codec_name
Video codec name for receiving.
Definition: connectionstats.h:124
int64_t round_trip_time
RTT for audio sending with unit of millisecond.
Definition: connectionstats.h:27
Define audio sender report.
Definition: connectionstats.h:15
int32_t available_receive_bandwidth
Available video bandwidth for receiving, unit: bps.
Definition: connectionstats.h:136
bool is_active
Indicate whether transport is active.
Definition: connectionstats.h:188
Adapt for view limitation.
std::string id
The ID of this report.
Definition: connectionstats.h:186
Define video bandwidth statistoms.
Definition: connectionstats.h:129
int32_t fir_count
Number of FIR received.
Definition: connectionstats.h:75
int32_t packets_sent
Video packets sent.
Definition: connectionstats.h:71
int32_t nack_count
Number of PLI sent.
Definition: connectionstats.h:114
std::string codec_name
Video codec name for sending.
Definition: connectionstats.h:91
int32_t retransmit_bitrate
Video bitrate of retransmit, unit: bps.
Definition: connectionstats.h:140
AudioReceiverReports audio_receiver_reports
Audio receiver reports.
Definition: connectionstats.h:216
int32_t available_send_bandwidth
Available video bandwidth for sending, unit: bps.
Definition: connectionstats.h:134
int32_t packets_lost
Audio packets lost during receiving.
Definition: connectionstats.h:42