mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine comments
This commit is contained in:
parent
14e3ec2fe8
commit
cac5bbddf6
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ obj = json.loads(s)
|
||||||
|
|
||||||
print ""
|
print ""
|
||||||
p = obj['data']['dropped']
|
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
|
# 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']
|
keys = ['lt_2', 'lt_3', 'lt_5', 'lt_9', 'lt_16', 'lt_32', 'lt_64', 'lt_128', 'lt_256', 'gt_256']
|
||||||
|
|
|
@ -305,7 +305,7 @@ private:
|
||||||
int cache_pos;
|
int cache_pos;
|
||||||
// The max number of messages for sendmmsg. If 1, we use sendmsg to send.
|
// The max number of messages for sendmmsg. If 1, we use sendmsg to send.
|
||||||
int max_sendmmsg;
|
int max_sendmmsg;
|
||||||
// The total queue length, share with all senders.
|
// The total queue length, for each sender.
|
||||||
int queue_length;
|
int queue_length;
|
||||||
public:
|
public:
|
||||||
SrsUdpMuxSender(SrsRtcServer* s);
|
SrsUdpMuxSender(SrsRtcServer* s);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue