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:
parent
5b54ceadb1
commit
6662568c11
2 changed files with 61 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue