mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-19 12:30:55 +08:00
添加性能测试模式
This commit is contained in:
@@ -55,6 +55,7 @@ int main(int argc, char *argv[]) {
|
||||
player->setOnShutdown([&](const SockException &ex) {
|
||||
--alivePlayerCnt;
|
||||
});
|
||||
(*player)[kBenchmarkMode] = true;
|
||||
(*player)[kRtpType] = atoi(argv[4]);
|
||||
player->play(argv[3]);
|
||||
playerList.push_back(player);
|
||||
|
||||
Reference in New Issue
Block a user