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
2014-02-11 13:54:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8697adacd94cfb1124404c2132b1fc9166e1a107
8697adac
1 parent
53a7c7da
fix compile warning on 64bit centos
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
trunk/src/core/srs_core_protocol.hpp
trunk/src/core/srs_core_protocol.hpp
查看文件 @
8697ada
...
...
@@ -41,39 +41,39 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// when got a messae header, there must be some data,
// increase recv timeout to got an entire message.
#define SRS_MIN_RECV_TIMEOUT_US
60*1000*1000LL
#define SRS_MIN_RECV_TIMEOUT_US
(int64_t)(60*1000*1000LL)
// the timeout to wait for client control message,
// if timeout, we generally ignore and send the data to client,
// generally, it's the pulse time for data seding.
#define SRS_PULSE_TIMEOUT_US
200*1000LL
#define SRS_PULSE_TIMEOUT_US
(int64_t)(200*1000LL)
// the timeout to wait client data,
// if timeout, close the connection.
#define SRS_SEND_TIMEOUT_US
30*1000*1000LL
#define SRS_SEND_TIMEOUT_US
(int64_t)(30*1000*1000LL)
// the timeout to send data to client,
// if timeout, close the connection.
#define SRS_RECV_TIMEOUT_US
30*1000*1000LL
#define SRS_RECV_TIMEOUT_US
(int64_t)(30*1000*1000LL)
// the timeout to wait client data, when client paused
// if timeout, close the connection.
#define SRS_PAUSED_SEND_TIMEOUT_US
30*60*1000*1000LL
#define SRS_PAUSED_SEND_TIMEOUT_US
(int64_t)(30*60*1000*1000LL)
// the timeout to send data to client, when client paused
// if timeout, close the connection.
#define SRS_PAUSED_RECV_TIMEOUT_US
30*60*1000*1000LL
#define SRS_PAUSED_RECV_TIMEOUT_US
(int64_t)(30*60*1000*1000LL)
// when stream is busy, for example, streaming is already
// publishing, when a new client to request to publish,
// sleep a while and close the connection.
#define SRS_STREAM_BUSY_SLEEP_US
3*1000*1000LL
#define SRS_STREAM_BUSY_SLEEP_US
(int64_t)(3*1000*1000LL)
// when error, forwarder sleep for a while and retry.
#define SRS_FORWARDER_SLEEP_US
3*1000*1000LL
#define SRS_FORWARDER_SLEEP_US
(int64_t)(3*1000*1000LL)
// when error, encoder sleep for a while and retry.
#define SRS_ENCODER_SLEEP_US
3*1000*1000LL
#define SRS_ENCODER_SLEEP_US
(int64_t)(3*1000*1000LL)
class
SrsSocket
;
class
SrsBuffer
;
...
...
请
注册
或
登录
后发表评论