mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
RTC: Remove dead code
This commit is contained in:
parent
f8ad90c68d
commit
34d119f7b4
1 changed files with 0 additions and 6 deletions
|
@ -901,16 +901,10 @@ srs_error_t SrsRtcPublishStream::start()
|
|||
return srs_error_wrap(err, "start timer");
|
||||
}
|
||||
|
||||
if ((err = _srs_rtc_sources->fetch_or_create(req, &source)) != srs_success) {
|
||||
return srs_error_wrap(err, "create source");
|
||||
}
|
||||
|
||||
if ((err = source->on_publish()) != srs_success) {
|
||||
return srs_error_wrap(err, "on publish");
|
||||
}
|
||||
|
||||
source->set_publish_stream(this);
|
||||
|
||||
if (_srs_rtc_hijacker) {
|
||||
if ((err = _srs_rtc_hijacker->on_start_publish(session_, this, req)) != srs_success) {
|
||||
return srs_error_wrap(err, "on start publish");
|
||||
|
|
Loading…
Reference in a new issue