Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-03-03 17:28:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a47dbf7a927ac7e3c35ba530dafae3624e1233de
a47dbf7a
1 parent
34d6a2ec
for #320, refine code.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/src/core/srs_core.hpp
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
a47dbf7
...
...
@@ -1129,10 +1129,10 @@ void SrsRtmpConn::change_mw_sleep(int sleep_ms)
void
SrsRtmpConn
::
play_set_sock_options
()
{
int
fd
=
st_netfd_fileno
(
stfd
);
#ifdef SRS_PERF_TCP_NODELAY
if
(
true
)
{
int
fd
=
st_netfd_fileno
(
stfd
);
socklen_t
nb_v
=
sizeof
(
int
);
int
ov
=
0
;
...
...
trunk/src/core/srs_core.hpp
查看文件 @
a47dbf7
...
...
@@ -88,6 +88,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// generated by configure.
#include <srs_auto_headers.hpp>
// important performance options.
#include <srs_core_performance.hpp>
// free the p and set to NULL.
// p must be a T*.
...
...
请
注册
或
登录
后发表评论