Skip to content

Fixes and improvements to SRT stats handling

  • Replace stats accumulation with naive byte counting. srt_bstats cannot be used to get the stats of closed connections, so the best we can do is keep the running count ourselves. https://github.com/Haivision/srt/issues/1593
  • Pass SRT's statistics on verbatim. Don't try to be clever and rename all of SRT's statistics to "GStreamery" names. Just use the field names as-is so users can refer to SRT's documentation and don't have to rediscover which value is which one.
  • Replace G_TYPE_VALUE_ARRAY with GST_TYPE_ARRAY. GValueArray has been deprecated for a long time. We can do without it here.
  • Report callers' remote address in the stats.
Edited by Jan Alexander Steffens

Merge request reports

Loading