1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine comments

This commit is contained in:
winlin 2020-04-17 12:48:05 +08:00
parent 14e3ec2fe8
commit cac5bbddf6
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ obj = json.loads(s)
print ""
p = obj['data']['dropped']
print('RTC Frame Dropped: %s'%(100.0 * p['rtc_dropeed'] / p['rtc_frames']))
print('RTC Frame Dropped: %s%s'%(10000.0 * p['rtc_dropeed'] / p['rtc_frames'], '%%'))
# 2, 3, 5, 9, 16, 32, 64, 128, 256
keys = ['lt_2', 'lt_3', 'lt_5', 'lt_9', 'lt_16', 'lt_32', 'lt_64', 'lt_128', 'lt_256', 'gt_256']