From 1824e18bd2d7d446e0faa17a598e9e0b3aa329d3 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 31 Dec 2014 20:20:32 +0800 Subject: [PATCH] fix the comment bug. --- trunk/src/rtmp/srs_protocol_rtmp.cpp | 4 ++-- trunk/src/rtmp/srs_protocol_stack.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/rtmp/srs_protocol_rtmp.cpp b/trunk/src/rtmp/srs_protocol_rtmp.cpp index 9924e5b48..3c07c5caa 100644 --- a/trunk/src/rtmp/srs_protocol_rtmp.cpp +++ b/trunk/src/rtmp/srs_protocol_rtmp.cpp @@ -1123,10 +1123,10 @@ int SrsRtmpServer::start_play(int stream_id) pkt->data->set(StatusClientId, SrsAmf0Any::str(RTMP_SIG_CLIENT_ID)); if ((ret = protocol->send_and_free_packet(pkt, stream_id)) != ERROR_SUCCESS) { - srs_error("send onStatus(NetStream.Play.Reset) message failed. ret=%d", ret); + srs_error("send onStatus(NetStream.Play.Start) message failed. ret=%d", ret); return ret; } - srs_info("send onStatus(NetStream.Play.Reset) message success."); + srs_info("send onStatus(NetStream.Play.Start) message success."); } // |RtmpSampleAccess(false, false) diff --git a/trunk/src/rtmp/srs_protocol_stack.cpp b/trunk/src/rtmp/srs_protocol_stack.cpp index 2fd64d772..1bf8811e8 100644 --- a/trunk/src/rtmp/srs_protocol_stack.cpp +++ b/trunk/src/rtmp/srs_protocol_stack.cpp @@ -1788,7 +1788,7 @@ int SrsProtocol::on_recv_message(SrsCommonMessage* msg) if (pkt->ackowledgement_window_size > 0) { in_ack_size.ack_window_size = pkt->ackowledgement_window_size; - // @remakr, we ignore this message, for user noneed to care. + // @remark, we ignore this message, for user noneed to care. // but it's important for dev, for client/server will block if required // ack msg not arrived. srs_info("set ack window size to %d", pkt->ackowledgement_window_size);