Minor video stats improvements
This commit is contained in:
1 parent
0eac28a74f
commit
8ffee9e10f
2 files changed
+11
-2
No files matched your search
@@ -142,12 +142,11 @@
|
||||
}
|
||||
|
||||
float interval = stats.endTime - stats.startTime;
|
||||
return [NSString stringWithFormat:@"Video stream: %dx%d %.2f FPS (Codec: %@)\nIncoming frame rate from network: %.2f FPS\nFrames dropped by your network connection: %.2f%%\n",
|
||||
return [NSString stringWithFormat:@"Video stream: %dx%d %.2f FPS (Codec: %@)\nFrames dropped by your network connection: %.2f%%\n",
|
||||
_config.width,
|
||||
_config.height,
|
||||
stats.totalFrames / interval,
|
||||
[_connection getActiveCodecName],
|
||||
stats.receivedFrames / interval,
|
||||
stats.networkDroppedFrames / interval];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user