winlin

fix bug of SrsFMLEStartPacket command name, set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US)

@@ -184,7 +184,7 @@ int SrsClient::service_cycle() @@ -184,7 +184,7 @@ int SrsClient::service_cycle()
184 // logical accept and retry stream service. 184 // logical accept and retry stream service.
185 if (ret == ERROR_CONTROL_RTMP_CLOSE) { 185 if (ret == ERROR_CONTROL_RTMP_CLOSE) {
186 // set timeout to a larger value, for user paused. 186 // set timeout to a larger value, for user paused.
187 - rtmp->set_recv_timeout(SRS_PAUSED_SEND_TIMEOUT_US); 187 + rtmp->set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US);
188 rtmp->set_send_timeout(SRS_PAUSED_SEND_TIMEOUT_US); 188 rtmp->set_send_timeout(SRS_PAUSED_SEND_TIMEOUT_US);
189 189
190 srs_trace("control message(close) accept, retry stream service."); 190 srs_trace("control message(close) accept, retry stream service.");
@@ -2110,7 +2110,7 @@ int SrsCloseStreamPacket::decode(SrsStream* stream) @@ -2110,7 +2110,7 @@ int SrsCloseStreamPacket::decode(SrsStream* stream)
2110 2110
2111 SrsFMLEStartPacket::SrsFMLEStartPacket() 2111 SrsFMLEStartPacket::SrsFMLEStartPacket()
2112 { 2112 {
2113 - command_name = RTMP_AMF0_COMMAND_CREATE_STREAM; 2113 + command_name = RTMP_AMF0_COMMAND_RELEASE_STREAM;
2114 transaction_id = 0; 2114 transaction_id = 0;
2115 command_object = new SrsAmf0Null(); 2115 command_object = new SrsAmf0Null();
2116 } 2116 }