mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine the api for context.
This commit is contained in:
parent
22ed55e2e5
commit
a6b2e28d50
2 changed files with 11 additions and 6 deletions
|
@ -37,17 +37,21 @@ _SrsContextId::_SrsContextId(const _SrsContextId& cp)
|
|||
v_ = cp.v_;
|
||||
}
|
||||
|
||||
const char* _SrsContextId::c_str()
|
||||
_SrsContextId::~_SrsContextId()
|
||||
{
|
||||
}
|
||||
|
||||
const char* _SrsContextId::c_str() const
|
||||
{
|
||||
return v_.c_str();
|
||||
}
|
||||
|
||||
bool _SrsContextId::empty()
|
||||
bool _SrsContextId::empty() const
|
||||
{
|
||||
return v_.empty();
|
||||
}
|
||||
|
||||
int _SrsContextId::compare(const _SrsContextId& to)
|
||||
int _SrsContextId::compare(const _SrsContextId& to) const
|
||||
{
|
||||
return v_.compare(to.v_);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue