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

RTC: Cover default status of track

This commit is contained in:
winlin 2020-08-03 13:12:39 +08:00
parent c72fb76334
commit 4aabbd74dc
4 changed files with 7 additions and 7 deletions

View file

@ -416,7 +416,7 @@ srs_error_t SrsRtcServer::do_create_session(
// TODO: FIXME: Handle error.
// All tracks default as inactive, so we must enable them.
session->set_play_track_status(true);
session->set_all_tracks_status_for_play(true);
}
std::string local_pwd = srs_random_str(32);