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; }