基于RTSP协议的流媒体应用日益增加,如何评测RTSP流媒体服务器的服务性能成为一个亟待解决的实际问题.本文在分析流媒体业务性能指标的基础上,设计和实现了一种RTSP协议流媒体服务器性能的测试工具.该工具通过读取测试用例脚本设定参数建立测试场景,利用多线程机制生成多实例伪终端向流媒体服务器发送RTSP信令、接收和解析R...
The attention on the streaming media applications based on RTSP protocol is growing, so the main issue we address in this paper is how to evaluate the serving performance of RTSP streaming media server. With comprehensive analysis of the performance metrics of streaming applications, we propose an approach to design and implement a Performance Testing Tool for RTSP-based Streaming Server. The tool creates the testing environment by obtaining parameters from the script of test case, utilizes multi-thread mechanism to create multiple pseudo-terminal instances to simulate a certain number of concurrent users for sending RTSP signals, receives media flow, analyzes RTP packets without decoding, and calculates the related performance metric values of the server finally. Experiments validate the efficiency and accuracy of the tool.