mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
rename org simple-rtmp-server to ossrs
This commit is contained in:
parent
1d8318d2fc
commit
1ffd5fd455
241 changed files with 957 additions and 957 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013-2015 SRS(simple-rtmp-server)
|
||||
Copyright (c) 2013-2015 SRS(ossrs)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
|
@ -479,7 +479,7 @@ bool get_proc_self_stat(SrsProcSelfStat& r)
|
|||
void srs_update_proc_stat()
|
||||
{
|
||||
// @see: http://stackoverflow.com/questions/7298646/calculating-user-nice-sys-idle-iowait-irq-and-sirq-from-proc-stat/7298711
|
||||
// @see https://github.com/simple-rtmp-server/srs/issues/397
|
||||
// @see https://github.com/ossrs/srs/issues/397
|
||||
static int user_hz = 0;
|
||||
if (user_hz <= 0) {
|
||||
user_hz = (int)sysconf(_SC_CLK_TCK);
|
||||
|
@ -1236,7 +1236,7 @@ void retrieve_local_ipv4_ips()
|
|||
// retrieve ipv4 addr
|
||||
// ignore the tun0 network device,
|
||||
// which addr is NULL.
|
||||
// @see: https://github.com/simple-rtmp-server/srs/issues/141
|
||||
// @see: https://github.com/ossrs/srs/issues/141
|
||||
if (addr && addr->sa_family == AF_INET) {
|
||||
in_addr* inaddr = &((sockaddr_in*)addr)->sin_addr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue