mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1612, refactor return value for RTSP initialize.
This commit is contained in:
parent
48be5b6245
commit
5586c2a128
1 changed files with 1 additions and 0 deletions
|
@ -712,6 +712,7 @@ srs_error_t SrsRtspCaster::initialize()
|
||||||
if ((err = manager->start()) != srs_success) {
|
if ((err = manager->start()) != srs_success) {
|
||||||
return srs_error_wrap(err, "start manager");
|
return srs_error_wrap(err, "start manager");
|
||||||
}
|
}
|
||||||
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
srs_error_t SrsRtspCaster::alloc_port(int* pport)
|
srs_error_t SrsRtspCaster::alloc_port(int* pport)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue