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

RTC: Set tracks to active for publisher

This commit is contained in:
winlin 2020-08-04 13:45:17 +08:00
parent dd13889772
commit c659098f71
6 changed files with 84 additions and 15 deletions

View file

@ -465,6 +465,9 @@ public:
void update_send_report_time(const SrsNtp& ntp);
srs_error_t send_rtcp_rr();
srs_error_t send_rtcp_xr_rrtr();
bool set_track_status(bool active);
bool get_track_status();
std::string get_track_id();
protected:
srs_error_t on_nack(SrsRtpPacket2* pkt);
public: