是否可以甚至允许在服务器和客户端上实施 QoS?直播555

Is it possible or even allowed to implement QoS on server and client? Live555

我一直在查看 Live555 的 RTSP,他们似乎按照 IETF 的定义遵循 RTSP。到目前为止,他们似乎在服务器端报告了传输(发送的数据),并在客户端报告了接收(接收到的数据)。

我想知道是否可以为客户端和服务器实现 send/receive 统计信息 (QoS) 报告?我需要收集服务器和客户端发送和接收的数据统计信息。

我是 Live555 的新手,文档在这方面非常晦涩,因此不胜感激!

谢谢

对于客户端,可以从openRTSP 测试程序中找到示例。 openRTSP 可以显示 QOS 客户端信息:

Outputting QOS statistics

Use the "-Q" option to output QOS ("quality of service") statistics about the data stream (when the program exits). These statistics include the (minimum, average, maximum) bitrate, packet loss rate, and inter-packet gap. The "-Q" option takes an optional parameter, which specifies the length of the time intervals - in multiples of 100ms - over which the "minimum, average, maximum" statistics are computed. The default value of this parameter is "10", meaning that these statistics are measured every 1 second (i.e., 10x100ms).

对于服务器端,您可以从RTPSink::transmissionStatsDB()获取QOS信息。