RTC: Refine log
This commit is contained in:
parent
74a0a2e969
commit
d2da74085c
|
|
@ -1558,7 +1558,7 @@ srs_error_t SrsRtcConnection::add_player(SrsRequest* req, const SrsSdp& remote_s
|
||||||
|
|
||||||
if (_srs_rtc_hijacker) {
|
if (_srs_rtc_hijacker) {
|
||||||
if ((err = _srs_rtc_hijacker->on_before_play(this, req)) != srs_success) {
|
if ((err = _srs_rtc_hijacker->on_before_play(this, req)) != srs_success) {
|
||||||
return srs_error_wrap(err, "before play check");
|
return srs_error_wrap(err, "before play");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1604,7 +1604,7 @@ srs_error_t SrsRtcConnection::add_player2(SrsRequest* req, SrsSdp& local_sdp)
|
||||||
|
|
||||||
if (_srs_rtc_hijacker) {
|
if (_srs_rtc_hijacker) {
|
||||||
if ((err = _srs_rtc_hijacker->on_before_play(this, req)) != srs_success) {
|
if ((err = _srs_rtc_hijacker->on_before_play(this, req)) != srs_success) {
|
||||||
return srs_error_wrap(err, "before play check");
|
return srs_error_wrap(err, "before play");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user