mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix build failed, for srs librtmp API changed.
This commit is contained in:
parent
cdfded6a74
commit
ca43bfe6d9
1 changed files with 6 additions and 1 deletions
|
@ -140,8 +140,13 @@ int main(int argc, char** argv)
|
|||
goto rtmp_destroy;
|
||||
}
|
||||
srs_human_trace("do simple handshake success");
|
||||
|
||||
if ((ret = srs_rtmp_set_schema(rtmp, sus)) != 0) {
|
||||
srs_human_trace("set url schema=%d failed, ret=%d", sus, ret);
|
||||
goto rtmp_destroy;
|
||||
}
|
||||
|
||||
if ((ret = srs_rtmp_connect_app3(rtmp, sus)) != 0) {
|
||||
if ((ret = srs_rtmp_connect_app(rtmp)) != 0) {
|
||||
srs_human_trace("connect vhost/app failed. ret=%d", ret);
|
||||
goto rtmp_destroy;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue