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

RTC: Support UnifiedPlan

This commit is contained in:
winlin 2020-08-21 18:08:54 +08:00
parent d66d100107
commit aaebecbcc9
6 changed files with 32 additions and 16 deletions

View file

@ -1062,3 +1062,10 @@ srs_error_t SrsSdp::parse_media_description(const std::string& content)
return err;
}
bool SrsSdp::is_unified() const
{
// TODO: FIXME: Maybe we should consider other situations.
return media_descs_.size() > 2;
}