Skip to content

Commit

Permalink
Fix build failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Apr 16, 2017
1 parent 1054b0a commit 18d9f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_rtmp_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ int SrsRtmpConn::stream_service_cycle()
case SrsRtmpConnHaivisionPublish: {
srs_verbose("Haivision start to publish stream %s.", req->stream.c_str());

if ((ret = rtmp->start_haivision_publish(res->stream_id)) != ERROR_SUCCESS) {
if ((ret = rtmp->start_haivision_publish(info->res->stream_id)) != ERROR_SUCCESS) {
srs_error("start to publish stream failed. ret=%d", ret);
return ret;
}
Expand Down

0 comments on commit 18d9f6c

Please sign in to comment.