1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

srs-librtmp: implements the publish and play.

This commit is contained in:
winlin 2014-03-02 14:51:19 +08:00
parent fce26d6690
commit c338eb3666
7 changed files with 242 additions and 6 deletions

View file

@ -249,6 +249,10 @@ int srs_publish_stream(srs_rtmp_t rtmp)
srs_assert(rtmp != NULL);
Context* context = (Context*)rtmp;
if ((ret = context->rtmp->fmle_publish(context->stream, context->stream_id)) != ERROR_SUCCESS) {
return ret;
}
return ret;
}