|
Hermes 0.7.0
Linux game streaming host
|
One block's report. The wire format is big-endian. More...
#include <src/video_loss_monitor.h>
Public Member Functions | |
| bool | lost () const |
| Too few packets arrived to rebuild the block, so its frame was dropped. | |
| std::uint32_t | missing_packets () const |
Public Attributes | |
| std::uint32_t | frame_index |
| std::uint16_t | missing_before_highest |
| Packets missing below the highest sequence number received when the report was made. | |
| std::uint16_t | total_data |
| std::uint16_t | total_parity |
| std::uint16_t | received_data |
| std::uint16_t | received_parity |
One block's report. The wire format is big-endian.
Definition at line 38 of file video_loss_monitor.h.
|
inline |
Too few packets arrived to rebuild the block, so its frame was dropped.
Definition at line 48 of file video_loss_monitor.h.
|
inline |
Packets of the block the network lost.
A dropped block is reported once the client has given up on it, so everything that did not arrive was lost. A repaired block is reported the moment enough packets arrived to rebuild it (moonlight-common-c, reconstructFrame()); the host sends data before parity, so the parity still on its way is not loss. Counting total - received there would report about the whole parity of every repaired block, and loss would grow with the parity sent. Only the gaps below the highest packet received count.
Definition at line 64 of file video_loss_monitor.h.
| std::uint32_t stream::video_loss_monitor_t::report_t::frame_index |
Definition at line 39 of file video_loss_monitor.h.
| std::uint16_t stream::video_loss_monitor_t::report_t::missing_before_highest |
Packets missing below the highest sequence number received when the report was made.
Definition at line 41 of file video_loss_monitor.h.
| std::uint16_t stream::video_loss_monitor_t::report_t::received_data |
Definition at line 44 of file video_loss_monitor.h.
| std::uint16_t stream::video_loss_monitor_t::report_t::received_parity |
Definition at line 45 of file video_loss_monitor.h.
| std::uint16_t stream::video_loss_monitor_t::report_t::total_data |
Definition at line 42 of file video_loss_monitor.h.
| std::uint16_t stream::video_loss_monitor_t::report_t::total_parity |
Definition at line 43 of file video_loss_monitor.h.