正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
| @@ -41,39 +41,39 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | @@ -41,39 +41,39 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| 41 | 41 | ||
| 42 | // when got a messae header, there must be some data, | 42 | // when got a messae header, there must be some data, |
| 43 | // increase recv timeout to got an entire message. | 43 | // increase recv timeout to got an entire message. |
| 44 | -#define SRS_MIN_RECV_TIMEOUT_US 60*1000*1000L | 44 | +#define SRS_MIN_RECV_TIMEOUT_US 60*1000*1000LL |
| 45 | 45 | ||
| 46 | // the timeout to wait for client control message, | 46 | // the timeout to wait for client control message, |
| 47 | // if timeout, we generally ignore and send the data to client, | 47 | // if timeout, we generally ignore and send the data to client, |
| 48 | // generally, it's the pulse time for data seding. | 48 | // generally, it's the pulse time for data seding. |
| 49 | -#define SRS_PULSE_TIMEOUT_US 200*1000L | 49 | +#define SRS_PULSE_TIMEOUT_US 200*1000LL |
| 50 | 50 | ||
| 51 | // the timeout to wait client data, | 51 | // the timeout to wait client data, |
| 52 | // if timeout, close the connection. | 52 | // if timeout, close the connection. |
| 53 | -#define SRS_SEND_TIMEOUT_US 30*1000*1000L | 53 | +#define SRS_SEND_TIMEOUT_US 30*1000*1000LL |
| 54 | 54 | ||
| 55 | // the timeout to send data to client, | 55 | // the timeout to send data to client, |
| 56 | // if timeout, close the connection. | 56 | // if timeout, close the connection. |
| 57 | -#define SRS_RECV_TIMEOUT_US 30*1000*1000L | 57 | +#define SRS_RECV_TIMEOUT_US 30*1000*1000LL |
| 58 | 58 | ||
| 59 | // the timeout to wait client data, when client paused | 59 | // the timeout to wait client data, when client paused |
| 60 | // if timeout, close the connection. | 60 | // if timeout, close the connection. |
| 61 | -#define SRS_PAUSED_SEND_TIMEOUT_US 30*60*1000*1000L | 61 | +#define SRS_PAUSED_SEND_TIMEOUT_US 30*60*1000*1000LL |
| 62 | 62 | ||
| 63 | // the timeout to send data to client, when client paused | 63 | // the timeout to send data to client, when client paused |
| 64 | // if timeout, close the connection. | 64 | // if timeout, close the connection. |
| 65 | -#define SRS_PAUSED_RECV_TIMEOUT_US 30*60*1000*1000L | 65 | +#define SRS_PAUSED_RECV_TIMEOUT_US 30*60*1000*1000LL |
| 66 | 66 | ||
| 67 | // when stream is busy, for example, streaming is already | 67 | // when stream is busy, for example, streaming is already |
| 68 | // publishing, when a new client to request to publish, | 68 | // publishing, when a new client to request to publish, |
| 69 | // sleep a while and close the connection. | 69 | // sleep a while and close the connection. |
| 70 | -#define SRS_STREAM_BUSY_SLEEP_US 3*1000*1000L | 70 | +#define SRS_STREAM_BUSY_SLEEP_US 3*1000*1000LL |
| 71 | 71 | ||
| 72 | // when error, forwarder sleep for a while and retry. | 72 | // when error, forwarder sleep for a while and retry. |
| 73 | -#define SRS_FORWARDER_SLEEP_US 3*1000*1000L | 73 | +#define SRS_FORWARDER_SLEEP_US 3*1000*1000LL |
| 74 | 74 | ||
| 75 | // when error, encoder sleep for a while and retry. | 75 | // when error, encoder sleep for a while and retry. |
| 76 | -#define SRS_ENCODER_SLEEP_US 3*1000*1000L | 76 | +#define SRS_ENCODER_SLEEP_US 3*1000*1000LL |
| 77 | 77 | ||
| 78 | class SrsSocket; | 78 | class SrsSocket; |
| 79 | class SrsBuffer; | 79 | class SrsBuffer; |
-
请 注册 或 登录 后发表评论