mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Support config the DTLS role and version
This commit is contained in:
parent
a6ade57ce5
commit
94ebcf6306
10 changed files with 171 additions and 38 deletions
|
@ -34,6 +34,13 @@
|
|||
#include <map>
|
||||
const std::string kTWCCExt = "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01";
|
||||
|
||||
struct SrsSessionConfig
|
||||
{
|
||||
public:
|
||||
std::string dtls_role;
|
||||
std::string dtls_version;
|
||||
};
|
||||
|
||||
class SrsSessionInfo
|
||||
{
|
||||
public:
|
||||
|
@ -212,6 +219,7 @@ public:
|
|||
int64_t end_time_;
|
||||
|
||||
SrsSessionInfo session_info_;
|
||||
SrsSessionConfig session_config_;
|
||||
|
||||
std::vector<std::string> groups_;
|
||||
std::string group_policy_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue