Skip to content

Commit

Permalink
refactor: update rtc conn.
Browse files Browse the repository at this point in the history
  • Loading branch information
johzzy committed Jun 19, 2022
1 parent 58adcb3 commit 65d05b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_rtc_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ srs_error_t SrsRtcConnection::add_player(SrsRtcUserConfig* ruc, SrsSdp& local_sd
return srs_error_wrap(err, "play negotiate");
}

if (!play_sub_relations.size()) {
if (play_sub_relations.empty()) {
return srs_error_new(ERROR_RTC_SDP_EXCHANGE, "no play relations");
}

Expand Down

0 comments on commit 65d05b9

Please sign in to comment.