ossrs / srs-bench

SB(SRS Bench) is a set of benchmark and regression test tools, for SRS and other media servers, supports HTTP-FLV, RTMP, HLS, WebRTC and GB28181.
https://ossrs.net
MIT License
394 stars 223 forks source link

编译报错,srs_hijack_io_is_never_timeout方法返回类型不一致 #22

Closed moon1234 closed 4 years ago

moon1234 commented 4 years ago

src/app/htl_app_srs_hijack.cpp:105:75: 错误:对‘int srs_hijack_io_is_never_timeout(srs_hijack_io_t, int64_t)’的新声明 int srs_hijack_io_is_never_timeout(srs_hijack_io_t /ctx/, int64_t /tm/)

src/app/srs_librtmp.h:1039:17: 错误:使旧的声明‘bool srs_hijack_io_is_never_timeout(srs_hijack_io_t, int64_t)’出现歧义 extern bool srs_hijack_io_is_never_timeout(srs_hijack_io_t ctx, int64_t timeout_us);

winlinvip commented 4 years ago

image