1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Covert server ARQ for DTLS

This commit is contained in:
winlin 2020-08-19 17:22:34 +08:00
parent f33c83a26f
commit e4b0dd56f0
3 changed files with 205 additions and 10 deletions

View file

@ -125,6 +125,9 @@ private:
SrsCoroutine* trd;
// The DTLS-client state to drive the ARQ thread.
SrsDtlsState state_;
// The timeout for ARQ.
srs_utime_t arq_first;
srs_utime_t arq_interval;
private:
// @remark: dtls_role_ default value is DTLS_SERVER.
SrsDtlsRole role_;