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

RTC: sdp surpport ssrc group encode and decode

This commit is contained in:
jinxue.cgh 2020-06-27 17:06:33 +08:00 committed by winlin
parent 5b54ceadb1
commit 6662568c11
2 changed files with 61 additions and 2 deletions

View file

@ -78,6 +78,17 @@ public:
class SrsSSRCGroup
{
public:
SrsSSRCGroup();
SrsSSRCGroup(const std::string& usage, const std::vector<uint32_t>& ssrcs);
virtual ~SrsSSRCGroup();
public:
srs_error_t encode(std::ostringstream& os);
public:
// e.g FIX, FEC, SIM.
std::string semantic_;
// SSRCs of this type.
std::vector<uint32_t> ssrcs_;
};
struct H264SpecificParam