From 18d9f6c8f11d8d59deca98392ef3aab4f923d93c Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 16 Apr 2017 15:54:30 +0800 Subject: [PATCH] Fix build failed. --- trunk/src/app/srs_app_rtmp_conn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_rtmp_conn.cpp b/trunk/src/app/srs_app_rtmp_conn.cpp index 4a72a9847..bcc0f431f 100644 --- a/trunk/src/app/srs_app_rtmp_conn.cpp +++ b/trunk/src/app/srs_app_rtmp_conn.cpp @@ -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; }