mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
3a13d8c380
commit
2dc311fbd9
2 changed files with 6 additions and 0 deletions
|
@ -1761,6 +1761,11 @@ void SrsRtcSendTrack::set_track_status(bool active)
|
|||
track_desc_->is_active_ = active;
|
||||
}
|
||||
|
||||
bool SrsRtcSendTrack::get_track_status()
|
||||
{
|
||||
return track_desc_->is_active_;
|
||||
}
|
||||
|
||||
std::string SrsRtcSendTrack::get_track_id()
|
||||
{
|
||||
return track_desc_->id_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue