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

Fix #3170: WebRTC: Support WHIP(WebRTC-HTTP ingestion protocol). v4.0.262

This commit is contained in:
winlin 2022-09-06 18:21:17 +08:00
parent e0c8c199d5
commit 15610ca488
6 changed files with 192 additions and 51 deletions

View file

@ -75,11 +75,16 @@ class SrsRtcUserConfig
{
public:
// Original variables from API.
std::string remote_sdp_str_;
SrsSdp remote_sdp_;
std::string eip_;
std::string codec_;
std::string api_;
// Session data.
std::string local_sdp_str_;
std::string session_id_;
// Generated data.
SrsRequest* req_;
bool publish_;