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:
parent
d66d100107
commit
aaebecbcc9
6 changed files with 32 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue