diff --git a/trunk/src/app/srs_app_edge.cpp b/trunk/src/app/srs_app_edge.cpp index 853a14235..dd9322ab9 100644 --- a/trunk/src/app/srs_app_edge.cpp +++ b/trunk/src/app/srs_app_edge.cpp @@ -916,6 +916,8 @@ srs_error_t SrsPlayEdge::on_client_play() if (state == SrsEdgeStateInit) { state = SrsEdgeStatePlay; err = ingester->start(); + } else if (state == SrsEdgeStateIngestStopping) { + return srs_error_new(ERROR_RTMP_EDGE_PLAY_STATE, "state is stopping"); } return err;