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

Refine code

This commit is contained in:
winlin 2020-07-29 22:12:42 +08:00
parent 3a13d8c380
commit 2dc311fbd9
2 changed files with 6 additions and 0 deletions

View file

@ -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_;