Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.65 KB

README.md

File metadata and controls

62 lines (49 loc) · 2.65 KB

bwe-stats-viewer

image

Online

https://medooze.github.io/bwe-stats-viewer/

BWE stats file input

The stats viewers requires | delimited csv file with \n line ends with one entry per RTP packet containint the following information:

  • 0: Feedback timestamp for rtp packet
  • 1: Transport wide seq num of rtp packet [Not currently used for stats viewer]
  • 2: Feedback packet num [Not currently used for stats viewer]
  • 3: total packet size
  • 4: Sent time for packet on sender clock
  • 5: Received timestamp for rtp packet pn receiver clock (or 0 if lost)
  • 6: Delta time with previous sent rtp packet (0 if lost) [Not currently used for stats viewer]
  • 7: Delta time with previous received timestamp (0 if lost) [Not currently used for stats viewer]
  • 8: Delta sent time - delta received time
  • 9: Delta accumulated time
  • 10: Delta instant
  • 11: Raw Estimated bitrate [Not currently used for stats viewer]
  • 12: Target bitrate for probing
  • 13: Available bitrate, adjusted bwe estimation reported back to the app (BWE minus RTX allocation based on packet loss)
  • 14: Reported rtt
  • 15: Minimum rtt
  • 16: Estimated rtt
  • 17: mark flag of RTP packet [Not currently used for stats viewer]
  • 18: 1 if packet was a retransmission, 0 otherwise
  • 19: 1 if packet was for probing, 0 otherwise
  • 20: BWE alogorithm state

Measures:

  • All timestamps and time metics are in microseconds except rtt which is in milliseconds.
  • All bitrates are in bps

BWE stats

The following charts are created

Bitrate chart

Provides information about the sent and reported received bitrate based on feedback stats and bitrate estimation based on algorithm output:

  • BWE : available bitrate
  • Target: target bitrate
  • Total sent: accumulated bitrate sent
  • Total sent: accumulated bitrate received
  • Media: accumulated bitrate for !rtx and !probing packets
  • RTX: accumulated bitrate for rtx packets
  • Probing: accumulated bitrate for probing packets

Note: All acumulated bitrates are based on the size stat on the input file and calculated over time window of 250ms. Note: All calculated bitrate grahpics are display on sent timestamp, for the metrics comming for the stat file, they are displayed on the feedback timestamp.

Delay and lost chart

Provides delays information based on feedback stats

  • RTT: RTT in ms
  • Network delay: Accumulated value of delta, with a minimum at 0
  • Feedback delay: Delay between pacekt sent time and the time when the feedback is recevied by for that packet.
  • Lost: % of packet loss over a 250ms window.