mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
srs-librtmp: implements play stream.
This commit is contained in:
parent
6b213b73eb
commit
fce26d6690
1 changed files with 280 additions and 275 deletions
9
trunk/src/libs/srs_librtmp.cpp
Executable file → Normal file
9
trunk/src/libs/srs_librtmp.cpp
Executable file → Normal file
|
@ -239,12 +239,17 @@ int srs_play_stream(srs_rtmp_t rtmp)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ERROR_SUCCESS;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int srs_publish_stream(srs_rtmp_t rtmp)
|
int srs_publish_stream(srs_rtmp_t rtmp)
|
||||||
{
|
{
|
||||||
return ERROR_SUCCESS;
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
||||||
|
srs_assert(rtmp != NULL);
|
||||||
|
Context* context = (Context*)rtmp;
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int srs_ssl_enabled()
|
int srs_ssl_enabled()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue